cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

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

MM_10159448
10-Marble

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

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

ACCEPTED SOLUTION

Accepted Solutions

@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

View solution in original post

4 REPLIES 4

@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

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?

 

@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

create another localization for required language and put all translated values in custom localization which is newly created . so that it available as table in system which can be used in mashup 

Announcements


Top Tags