You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each component that uses localisable labels has a property lang that takes in a language identifier.
The language can be chosen in the WS-Header. There is an language-changed-event propagated by the WS-Header the dev can listen on.
The localised labels are stored in a json per component.
The currency- and date-format are affected by this language property.
The default is always german ('de').
Both currency- and date-format can be overwritten by the properties currency-format and date-format.
The text was updated successfully, but these errors were encountered:
Clarification: The currency format is affected by the localization, but not the currency itself, right? Just to be explicit: If the currency changed based on my settings, that would be a disaster.
First of all. This is absolutely not urgent and critical since we have not that many texts in our components. Secondly you are right. The currency itself remains the same and is decided by the data the application inserts into the components. The difference is how numbers are displayed (comma or dot for thousands) where the currency is placed and general words such as Wednesday, Choose and so on.
@fokusferit @fragsalat @tonysaad and me decided to go with following approach for internationalisation:
Each component that uses localisable labels has a property
lang
that takes in a language identifier.The language can be chosen in the WS-Header. There is an language-changed-event propagated by the WS-Header the dev can listen on.
The localised labels are stored in a json per component.
The currency- and date-format are affected by this language property.
The default is always german ('de').
Both currency- and date-format can be overwritten by the properties
currency-format
anddate-format
.The text was updated successfully, but these errors were encountered: