File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF and internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and internationalization" Watch "JSF and internationalization" New topic

JSF and internationalization

bada Bos

Joined: Jan 18, 2008
Posts: 2

Hello evry body,
to change the local of my web application i've done the code below :

public void processChangeLocal(ValueChangeEvent event){
Locale newLocal = new Locale( (String)event.getNewValue());
FacesContext context = FacesContext.getCurrentInstance();

This method is called when the user changes the language. By my problem is only the local of the currente page changes.

i've done this in the faces-config :

Aravind M Jay

Joined: Mar 16, 2006
Posts: 15
These links may help you -

I agree. Here's the link:
subject: JSF and internationalization
It's not a secret anymore!