[Yanel-dev] [Bug 5271] associate translations of a resource

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Thu Apr 5 23:48:22 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5271





------- Additional Comments From josias.thoeny at wyona.org  2007-04-05 23:48 -------
Created an attachment (id=648)
 --> (http://bugzilla.wyona.com/cgi-bin/bugzilla/attachment.cgi?id=648&action=view)
translatable interface and sample implementation

This patch adds a Translatable interface and a sample implementation.
The XMLResource implements this interface and delegates the action to a
TranslationManager.
The DefaultTranslationManager stores the translation associations in a central
file in the repository called /translations.xml. Maybe this implementation does
not make much sense, it would be better to store this information somewhere
else. Once we decide where to put it (rc, meta, sitetree, ?) we just replace
the TranslationManager implementation.

To see if the patch works, check this url:
http://localhost:8080/yanel/yanel-website/en/about.html?yanel.resource.meta
There should be a list of translations (de, en, es)
(There's a small bug with double slashes in the links, not sure how to fix it)




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list