[xwiki-users] Languages and translation
Hi, Does anybody know if it's possible to change the translation for the interface (for example, the logout button) ? I would like to avoid overwriting the "$!msg.get('logout')" which is definitively not a good solution. Thanks Regards Ben -- View this message in context: http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p504192... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Ben, On Wed, May 12, 2010 at 16:10, Ben Stuggler <[email protected]>wrote:
Hi,
Does anybody know if it's possible to change the translation for the interface (for example, the logout button) ?
I would like to avoid overwriting the "$!msg.get('logout')" which is definitively not a good solution.
- Create XWiki.Translations - Write "logout=Some crazy translations" and save the page - In the Administration, in the Programming section, add "XWiki.Translations" as an internationalization document bundle and save IIRC this should override the default translation. Guillaume
Thanks
Regards
Ben -- View this message in context: http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p504192... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
On Wed, May 12, 2010 at 18:17, Guillaume Lerouge <[email protected]>wrote:
Hi Ben,
On Wed, May 12, 2010 at 16:10, Ben Stuggler <[email protected]
wrote:
Hi,
Does anybody know if it's possible to change the translation for the interface (for example, the logout button) ?
I would like to avoid overwriting the "$!msg.get('logout')" which is definitively not a good solution.
- Create XWiki.Translations
- Write "logout=Some crazy translations" and save the page
- In the Administration, in the Programming section, add "XWiki.Translations" as an internationalization document bundle and save
Note that it does not have to be XWiki.Translations page just create any page you want to put your translations and add it in the preferences as Guillaume explained
IIRC this should override the default translation.
Guillaume
Thanks
Regards
Ben -- View this message in context:
http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p504192...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On 05/12/2010 06:10 PM, Ben Stuggler wrote:
Hi,
Does anybody know if it's possible to change the translation for the interface (for example, the logout button) ?
I would like to avoid overwriting the "$!msg.get('logout')" which is definitively not a good solution.
You mean changing only some of the existing keys, like change "logout" with "get out of here"? Yes, it's possible, you must put the new translations for those keys in a document and register it in Administration->Programmin->Internationalization Document Bundles -- Sergiu Dumitriu http://purl.org/net/sergiu/
On May 12, 2010, at 6:17 PM, Guillaume Lerouge wrote:
Hi Ben,
On Wed, May 12, 2010 at 16:10, Ben Stuggler <[email protected]>wrote:
Hi,
Does anybody know if it's possible to change the translation for the interface (for example, the logout button) ?
I would like to avoid overwriting the "$!msg.get('logout')" which is definitively not a good solution.
- Create XWiki.Translations - Write "logout=Some crazy translations" and save the page - In the Administration, in the Programming section, add "XWiki.Translations" as an internationalization document bundle and save
IIRC this should override the default translation.
Even better, you can find the documentation here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplicat... Thanks -Vincent
Thanks for your advices, it's working! Ben -- View this message in context: http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p506398... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (5)
-
Ben Stuggler -
Guillaume Lerouge -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol