• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use i18n in jsf  RSS feed

 
Mohammed aashik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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 ]
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!