function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ghanshyam BhattGhanshyam Bhatt 

Localization/I18N : MyProfile how to control Language List

I am having a Portal in which i have created the My Profile Page. This page fetches the data from User Object and shows it on UI.One field on this page is language and locale. I want to show the portal user only English and French and Spanish lanugage. How i can control this language list.i want to make this language list permission based(configurable).

 

Do we have any configuration in the Portal to control this or we have to manage this on my own.

I wrote custom code for My Profile.

I used below query to fetch User object.

 

SELECT

id, email, username, usertype, communitynickname, timezonesidkey, languagelocalekey, firstname, lastname, phone, title,

street, city, country, postalcode, state, localesidkey, mobilephone, extension, fax, contact.email from User.

 

I tried using the Language Setting to select languages but It configured the lanugages under the Manage Users profile. It didnot helped me to configure language list available to portal user.

 

Please help guys. Thanks in advance