• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to translate ?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'd like to contiribute like italian translator, how can i ?
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Get the en_US.properties file ( WEB-INF/config/languages ) and translate the keys. I suggest you to get the latest version from CVS in the following link:

https://jforum.dev.java.net/source/browse/jforum/WEB-INF/config/languages/

There, click in the link which has the revision number ( "Rev" column ) of the file "en_US.properties". This will be the latest version.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanx, i'm near to finish.

and so? must i post the zipped file here?
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please send to rafaelsteil#at#gmail.com

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we have a prefix before language setting, like jforum_en_US.properties, jforum_zh_TW.properties?
I'm currently use Zaval JRC Editor to do Chinese Traditonal translating. I have to add a jforum perfix before I use Zaval JRC Editor to load both of them together. And after uploading to my server, I have to change back the filename to no-prefix version.
I think it's no harm to the current architecture. Just change the code for fetching the language file.
[originally posted on jforum.net by andowson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, you don't need to rename the files every time. You can keep them as jforum_xxxx.properties as long you also update the file "locales.properties". That's all that need to be done.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, thanks. I'll try it.
[originally posted on jforum.net by andowson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great...it works :lol: . Just copy back the locales.properties and no need for reloading the webapp. I'll speed up my translation now .
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh,I think u only translate the config.xml file to itianly....
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ciao,

vorei fare una prova da tua traduzione.

As you can see, .my italian is pretty crap... but my users will help find
mistakes and don't mind if it is not 100% complete.

Could you email me a copy?

gregw(at)mortbay.com

saluti
[originally posted on jforum.net by gregwilkins]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i haven't found italian translation so i'm trying to write one.
I put it_IT.properties file under JForum-2.1.4\WEB-INF\config\languages
dir and updated local.properties file. After restarting tomcat no changes were made.

can you explaining me why?

I'll send you the file when will be finished.


[originally posted on jforum.net by Sienda]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "no changes were made"?

To use it_IT as default language, change the key "i18n.board.default" in SystemGlobals.properties

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried but with the same result

i've done these steps:

created a file named it_IT.properties (and filled it with italian translation of course...)
put it into JForum-2.1.4\WEB-INF\config\languages
added the entry it_IT = it_IT.properties into local.properties and
changed the key "i18n.board.default" in SystemGlobals.properties as you suggested.

finally i restarted tomcat but the language remains english. what' s wrong?

thanx
[originally posted on jforum.net by Sienda]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i almost forgot...

jforum 2.4.1

tomcat 4.1

postgres 8.0


[originally posted on jforum.net by Sienda]
 
What's that smell? I think this tiny ad may have stepped in something.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic