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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Localization via script

ekoraichi-2
2-Guest

Localization via script

Hi,

How can i assing the language parametr to a user using a script. Because i used the create user script via a button, but i want to assign a specific to that user langauge also. Thanks

ACCEPTED SOLUTION

Accepted Solutions
supandey
19-Tanzanite
(To:ekoraichi-2)

Hi El Mehdi, you can use the SetLanguagePreferences service something like this to achieve this

var params = {

preferences: undefined /* STRING */

};

// no return

Users["DemoUser"].SetLanguagePreferences(params);

View solution in original post

2 REPLIES 2
supandey
19-Tanzanite
(To:ekoraichi-2)

Hi El Mehdi, you can use the SetLanguagePreferences service something like this to achieve this

var params = {

preferences: undefined /* STRING */

};

// no return

Users["DemoUser"].SetLanguagePreferences(params);

Thanks, it worked.

Announcements


Top Tags