You can use a *.properties file, or a Java 5 XML properties file - http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#loadFromXML(java.io.InputStream).

-Adrian


Vu Hong Thuan wrote:
Thank for your reply.
How can I use a separate translated file?

2008/10/27 Adrian Crum <[EMAIL PROTECTED]>

That was a design decision made some time ago. The OFBiz community agreed
that having all languages in a single file makes translation easier and it
also makes it easier to spot missing translated labels.

There is no performance penalty for having all translations in one file. UI
labels are kept in a memory cache.

The framework still supports separate language files. You can use both
formats together.

-Adrian


Vu Hong Thuan wrote:

Hi devs,
Why not we seperate language files into each seperate language file.
Such as: workeffortuilabels.xml is seperated into
workeffortuilabels.en.xml
or workeffortuilabels.fr.xml
There are some reasons for doing this:

1. Our applications only want to support a few of language
2. It's easier to create new file language separatly.
3. It maybe increase performent of all application in processing language
files.

Thanks.





Reply via email to