dcsimg
Internationalizing J2EE web application
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   innum_onenu
Posted On:   Tuesday, February 26, 2002 06:14 AM

We are developing a J2EE web application which needs to support internationalization. The number of languages that needs support are not known at this point of time, it is said American and European languages. Now, 1.Is it necessary to store the contents of the entire site (all the pages) in all the different languages? 2.If yes, where should it be stored in the DB or having different files with same content for different languages? 3. A page could have both static and dynamic data. For static data we could store somewhere but what will happen to dynamic data? 4. Does the use of XML helps in internationalization, if so how? 5. Can we dynamically translate a content stored i   More>>

We are developing a J2EE web application which needs to support internationalization.
The number of languages that needs support are not known at this point of time, it is said American and European languages. Now,

1.Is it necessary to store the contents of the entire site (all the pages) in all the different languages?


2.If yes, where should it be stored in the DB or having different files with same content for different languages?


3. A page could have both static and dynamic data. For static data we could store somewhere but what will happen to dynamic data?


4. Does the use of XML helps in internationalization, if so how?


5. Can we dynamically translate a content stored in one language to different languages?


6. When the user views the application in a browser say from France and he has selected french as his preffered language, then the application would throw french characters stored in the DB, but the client machine should have that FONT installed, is this right?


7.Should we take care of UNICODE?



Thanks!

   <<Less

Re: Internationalizing J2EE web application

Posted By:   Bozidar_Dangubic  
Posted On:   Tuesday, February 26, 2002 06:49 AM


  1. yes.
  2. whatever you prefer. bundles and things like read from files or property objects but you can store in the database and read into objects or to files when requested. this is a matter of implementation.
  3. you also have to have dynamic data in all languages. bundles will likely need to be used. treat static and dynamic data in the same manner. first figure out the content, then figure out what language is request, then get the content on the screen in that language.
  4. not really. unless you store your translations in the XML format because you already have them in the XML format. XML itself does not help much with I18N.
  5. no, unless you have some tool that performs this for you. we are far from having a great tool for this so unless your content is very simple you probably won't be satisfied with the translation tool.
  6. sure they need the font installed.
  7. yes.
About | Sitemap | Contact