• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to use i18n in jsf

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
im new to jsf. i need to use i18n in my application.
i tried using resource bundle,but doesn't works

my scenario is..when i click a link button,it should change to the particular language.

can any one tell me how to integrate i18n in my application

Thanks in advance

regards
aashik

[ August 19, 2008: Message edited by: Mohammed aashik ]
[ August 19, 2008: Message edited by: Mohammed aashik ]
 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just use Property file per language and load it in each page.
 
Mohammed aashik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for your reply .but how could i load the property per language files dynamically . Is there any example.

thanks
[ August 20, 2008: Message edited by: Mohammed aashik ]
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Carefully read the JSF localization chapters at the Java EE tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/bnasp.html The first paragraph contains two links "Performing Localization" and "Chapter 15 (etc)". Also follow them carefully.
reply
    Bookmark Topic Watch Topic
  • New Topic