Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Switching the locale / UI5 standard texts

$
0
0

Hi,

 

DJ Adams

 

Referring to this blog entry I have a question:

 

In my OData service I have an entity"UserSettings" in which several settings are stored per user.

I also use it to store the default GUI language the user wants to use.

 

When the application is loaded (= Component initializing) I read the entity and load my resource bundle according to the user's language setting.

This works fine so far, but the texts coming out of the UI5 standard i18n properties files still use the locale which was determined by the framework at the start of the application.

 

In my case it is German whereas the application specific texts are displayed in English because I have set this as default in my UserSettings entity.

 

2015-09-07 11_26_52-SPOT.png

 

What am I missing?
How can I also switch the standard resource bundle to the desired locale?


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>