This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Internationalization Support in Applications  RSS feed

 
Ranch Hand
Posts: 376
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we have to implement Internationalization in the websites, then we use the properties files having key value pairs - keys being consistent across languages. So, what is the best way to load these properties :

1. During loading the application itself
2. Whenever we call some page to render, then fetching those properties only
3. Any other way?
 
Saloon Keeper
Posts: 5124
135
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ResourceBundle mechanism handles that - the Oracle web site has extensive documentation on that.
 
Sheriff
Posts: 21550
100
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim is right. You just declare and initialise a ResourceBundle, and that will take care of selecting the correct available locale etc.
 
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!