Skip to main content
10-Marble
December 5, 2023
Solved

How to convert 'Localization Table: Default' to other languages when changed language from runtimeDD

  • December 5, 2023
  • 1 reply
  • 2353 views

I have 100 token created in Localization Table: Default', Now I want to convert and see in runtime whenever changed languages from dropdown in runtime.

 

Please suggest my any service or code which should convert to other languages automatically

Best answer by nmilleson

@MM_10159448 ,

 

You'll need to add the translation values in each of those languages.  It does not do the translation for you.  I would suggest using a service like Google Translate.  Then open each language localization table you'd like to support and enter those values

 

 

- Nick

1 reply

17-Peridot
December 5, 2023

@MM_10159448 ,

 

I would suggest creating a service that changes the language preferences of your user to whichever language you choose in the dropdown.  You may need to refresh the page. You can use this service:

Users["myUser"].SetLanguagePreferences({
	preferences: newLanguage /* STRING */
});

 

Hope that helps

- Nick

10-Marble
December 5, 2023

Hi Nick,

 

Thank you for your reply,

This Service, I am already using but the problem is.

I have added some new token in default as below

MM_10159448_0-1701784140454.png

I have selected language in runtime from Dropdown list, refreshed browser and verified but its not converted in other languages.

MM_10159448_1-1701785075616.png

Please let me know what is the issue?

 

nmilleson17-PeridotAnswer
17-Peridot
December 5, 2023

@MM_10159448 ,

 

You'll need to add the translation values in each of those languages.  It does not do the translation for you.  I would suggest using a service like Google Translate.  Then open each language localization table you'd like to support and enter those values

 

 

- Nick