asked
2014-01-13 06:37:18 +0800
sjoshi 3493 ● 1 ● 8
http://zkframeworkhint.bl...
I am getting one issue ,in my project supporting bilingual but i am getting one issue when i changed language from English to French it change the message but not the label like Ok or Cancel See attached screen shot.
I used below code to change the language
public static void doChangeLanguage(String argLang) {
SessionValidationInitiator.setLanguage(argLang);
LOGGER.debug("Changing Language to ... " + argLang);
if(argLang.equalsIgnoreCase("fr_ca")){
Executions.getCurrent().getSession().setAttribute(Attributes.PREFERRED_LOCALE, Locale.FRENCH);
}else{
Executions.getCurrent().getSession().setAttribute(Attributes.PREFERRED_LOCALE, Locale.US);
}
Executions.sendRedirect(null);
}
what zk version sjoshi?
chillworld ( 2014-01-13 06:41:09 +0800 )editZK version is 6.5.5
sjoshi ( 2014-01-13 07:03:40 +0800 )edit