[ 
https://issues.jboss.org/browse/SEAMINTL-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Esteve Aviles closed SEAMINTL-43.
---------------------------------

    Fix Version/s: 3.0.0.Final
       Resolution: Done


Issue resolved.
Must add <f:view locale="#{userSession.userLocale}"> to get view i18n.

> Alter user locale not working
> -----------------------------
>
>                 Key: SEAMINTL-43
>                 URL: https://issues.jboss.org/browse/SEAMINTL-43
>             Project: Seam International
>          Issue Type: Bug
>    Affects Versions: 3.0.0.Final
>         Environment: JBoss 6.0.0.Final, Seam 3.0.0.Final
>            Reporter: Esteve Aviles
>            Assignee: Ken Finnigan
>              Labels: international, seam
>             Fix For: 3.0.0.Final
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Hi,
> I am trying to change locale properties settings without success.
> I try to use it as described in the documentation:
> public String changeLocale(){
>               log.info("Changing locale to: "+ new 
> Locale(selectedLocale.get()));
>               localeEvent.fire(new Locale(selectedLocale.get()));
>               log.info("Locale Changed to: "+ userLocale);
>               messages.warn(new BundleKey("resources", "locale.changeok"), 
> new Locale(selectedLocale.get()));
>               return null;
>       }
> An the result is something like this:
> 13:08:27,664 INFO  
> [org.jboss.seam.international.examples.locale.UserSessionView] Changing 
> locale to: pt_br
> 13:08:27,664 INFO  
> [org.jboss.seam.international.examples.locale.UserSessionView] Locale Changed 
> to: ca_ES
> Resource boundle is not changed neither with the default nor with the changed 
> one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to