Hi Stuart Harris,How can we set the multiple language in a screen? Ex: I created a toggle to select the Japanese or English. But when I trigger the togle, only Japanese display in Upload File block.
hi @Loc Dinh Xuan
You can check below links and check documents for forge components:
https://success.outsystems.com/documentation/11/building_apps/user_interface/multilingual_reactive_web_and_mobile_apps/translate_your_app/
https://success.outsystems.com/documentation/11/reference/outsystems_language/logic/built_in_functions/environment/
I hope this helps
Thanks
Thanks @Rupesh Patil for suggestion. I tried this approach before. But It is working fine with the label is in block or screen. The words in JS script is not applicable for SetCurrentLocal().
Você pode criar variáveis para esses valores de script JavaScript e traduzi-las usando a localidade.
I try multiple method to apply multiple language even try remove/add js require still not loading the right language after change
it take the last js in secreen
Hi Loc Dinh,
I have not specifically built the capability to switch languages. However you may be able to make it work.
I assume you have read the documentation and are using the Japanese block to make it use Japanese.
The block will not change languages unless it reinitializes. I believe you have to remove it and re-add it to the screen. Though I have not tested this.
How are you attempting to change languages at the moment?
I hope this is helpful.
Kind regards,
Stuart