||Thu, 18 August 2016 16:14
| Beat Schwarzentrub
Registered: November 2010
The texts you have marked with red are so-called "UI texts". Unlike the green texts (which belong to the table and are sent to the UI along the table itself), they are collected when the UI session starts and are sent to the UI in the startup response (the first request to /json).|
The UI texts are collected for a specific locale. This locale is taken from the ClientSession. Depending on the implementation (e.g. in execLoad), the locale can be set statically or by reading some user settings from a database. By default, the ClientSession's locale is read from the first HttpRequest's headers.
Note that this means that simply reloading the page after changing the browser's locale is not enough! You will get the same ClientSession as before , and with the same locale as well. You have to logout and login again to create a new ClientSession.
I suggest you first check the HTTP request headers (and the response) using the browser's dev tools. I tried it with the contacts application at https://scout.bsi-software.com/contacts/ and it seemed to be working correctly:
If this looks alright, make some breakpoints in the Java code to check the locale at these points:
- org.eclipse.scout.rt.ui.html.UiSession.createAndStartClientSession(Locale, UserAgent, Map<String, String>)
(Size: 41.04KB, Downloaded 160 times)
Powered by FUDForum
. Page generated in 0.01716 seconds