I have an application for multilingual locations, and recently I updated racks from 2.3.20 to 2.3.29. After the update, the Tamil language does not work, even if, if we choose Tamil, the texts will be shown in English.
I checked the locale setting when choosing the Tamil language, this is correct, i.e. request_locale = ta_IN .
I tried to extend I18nInterceptor in my class of custom interceptors, and then override the method as shown below. This also did not work. getLocaleFromParam()
So please let me know if you have a solution for this problem.
Tamil worked great in Struts 2.3.20
protected Locale getLocaleFromParam(Object requestedLocale)
{
Locale locale = null;
if (requestedLocale != null) {
locale = (requestedLocale instanceof Locale) ?
(Locale) requestedLocale :
LocalizedTextUtil.localeFromString
(requestedLocale.toString(), null);
if (locale != null) {
logger.debug("applied request locale="+locale);
}
}
return locale;
}