Re: [xwiki-users] Languages and translation

2010-05-17 Thread Ben Stuggler

Thanks for your advices, it's working!

Ben
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p5063983.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Languages and translation

2010-05-12 Thread Ben Stuggler

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-tp5041928p5041928.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Guillaume Lerouge
Hi Ben,

On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.comwrote:


 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-tp5041928p5041928.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Thomas Mortagne
On Wed, May 12, 2010 at 18:17, Guillaume Lerouge guilla...@xwiki.comwrote:

 Hi Ben,

 On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.com
 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-tp5041928p5041928.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 



 --
 Guillaume Lerouge
 Product Manager - XWiki SAS
 Skype: wikibc
 Twitter: glerouge
 http://guillaumelerouge.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Sergiu Dumitriu
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/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Vincent Massol

On May 12, 2010, at 6:17 PM, Guillaume Lerouge wrote:

 Hi Ben,
 
 On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.comwrote:
 
 
 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/InternationalizingApplications

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users