Commit 371f381b authored by Matija Obreza's avatar Matija Obreza

i18n: Allow CS language

parent 04e24241
......@@ -119,6 +119,7 @@ public class ApplicationConfig {
supportedLocales.add("ru");
supportedLocales.add("zh");
supportedLocales.add("pt");
supportedLocales.add("cs");
return supportedLocales;
}
......
......@@ -115,7 +115,7 @@ public class WebInitializer extends AbstractAnnotationConfigDispatcherServletIni
// Locale URL filter configuration
final FilterRegistration.Dynamic localeURLFilter = servletContext.addFilter("localeURLFilter", LocaleURLFilter.class);
localeURLFilter.setInitParameter("defaultLocale", "en");
localeURLFilter.setInitParameter("allowedLocales", "en,es,de,fr,fa,ar,ru,zh,pt");
localeURLFilter.setInitParameter("allowedLocales", "en,es,de,fr,fa,ar,ru,zh,pt,cs");
localeURLFilter.setInitParameter("excludePaths", "/html,/login-attempt");
localeURLFilter.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, DispatcherType.INCLUDE, DispatcherType.FORWARD), false, "/*");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment