The following language and currency components can be used:
The menus will allow the user to select the language and currency. The menus automatically connect to the backend and the other frontend components. The components will provide the following functionality:
- Available languages, currencies, and corresponding format options are fetched from the backend.
- If there are not multiple languages or currencies available, the menus will hide.
- When changing the language via the language menu, an API call will be triggered that updates all static and dynamic texts in the user interface asynchronously.
- The currency menu will detect if the user is allowed to change the currency. For example, an existing user that has subscribed already is not allowed to change the currency.
- When changing the currency via the currency menu, price information that is displayed in other Subscription Suite components will update automatically.