Open andreafeccomandi opened 8 years ago
Hello
Maybe there is something we already know how to fix this problem ?
Hi, it's easy to fix. In tomcat/webapps/zefiro/js/angular/i18n you just have to create 2 additional files according to your browser's language settings. In my case it's czech so i simply copied angular-locale-en.js and jb-locale-en.js and created 2 new files - angular-locale-cs.js and jb-locale-en.js . It works just fine.
LOG 2016-07-13 08:32:52,523 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - ENTER isSessionComplete 2016-07-13 08:32:52,534 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - A specific session is requested: 28CA2B2CBE97BE33541DEA13C266EB27 2016-07-13 08:32:52,534 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - The requested session is not valid 2016-07-13 08:32:52,535 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - FINISH isSessionComplete returning false 2016-07-13 08:32:52,535 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - ENTER completeSession 2016-07-13 08:32:52,537 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER setDeaultLocale(Session) 2016-07-13 08:32:52,538 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getDeaultLocale(Session) 2016-07-13 08:32:52,539 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getDeaultLocale(Session): pl_PL 2016-07-13 08:32:52,539 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER setLocale(Session) con locale pl_PL 2016-07-13 08:32:52,543 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH setLocale(Session) 2016-07-13 08:32:52,543 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH setDeaultLocale(Session) 2016-07-13 08:32:52,544 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocale(Session) 2016-07-13 08:32:52,544 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - EXIT getLocale(Session) returning pl_PL 2016-07-13 08:32:52,551 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocalizedDatePattern #,### in pl_PL 2016-07-13 08:32:52,551 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getLocalizedDatePattern returning # ### 2016-07-13 08:32:52,551 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocalizedDatePattern #,##0.00 in pl_PL 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getLocalizedDatePattern returning # ##0,00 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocalizedDatePattern dd/MM/yyyy in pl_PL 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getLocalizedDatePattern returning dd/MM/yyyy 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocalizedDatePattern HH:mm:ss in pl_PL 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getLocalizedDatePattern returning HH:mm:ss 2016-07-13 08:32:52,552 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocalizedDatePattern dd/MM/yyyy HH:mm:ss in pl_PL 2016-07-13 08:32:52,553 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - FINISH getLocalizedDatePattern returning dd/MM/yyyy HH:mm:ss 2016-07-13 08:32:52,553 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - FINISH completeSession 2016-07-13 08:43:53,021 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - ENTER isSessionComplete 2016-07-13 08:43:53,021 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - A specific session is requested: BBA9CE067E400CD5FAA205AE39244AAE 2016-07-13 08:43:53,021 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - The requested session looks complete. anyway I check the locale 2016-07-13 08:43:53,021 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocale(Session) 2016-07-13 08:43:53,022 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - EXIT getLocale(Session) returning pl_PL 2016-07-13 08:43:53,022 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - The requested session is really complete 2016-07-13 08:43:53,022 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - FINISH isSessionComplete returning true 2016-07-13 08:43:58,196 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - ENTER isSessionComplete 2016-07-13 08:43:58,208 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - A specific session is requested: BBA9CE067E400CD5FAA205AE39244AAE 2016-07-13 08:43:58,208 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - The requested session looks complete. anyway I check the locale 2016-07-13 08:43:58,209 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - ENTER getLocale(Session) 2016-07-13 08:43:58,210 [] [] [] DEBUG it.makeit.jbrick.web.LocaleUtil - EXIT getLocale(Session) returning pl_PL 2016-07-13 08:43:58,210 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - The requested session is really complete 2016-07-13 08:43:58,210 [] [] [] DEBUG it.makeit.jbrick.http.SessionUtil - FINISH isSessionComplete returning true
Result