Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Language Quick Toggle #127

Open
killerrin opened this issue Jan 21, 2022 · 0 comments
Open

Feature Request - Language Quick Toggle #127

killerrin opened this issue Jan 21, 2022 · 0 comments

Comments

@killerrin
Copy link

It'd be a useful feature for testing to be able to have a Language Quick Toggle within the Power Pane.

How to retrieve the Languages Enabled on an Environment
You can retrieve the lcid's for all the languages enabled on a particular environment by hitting this WebAPI Function Endpoint:
Endpoint: /api/data/9.1/RetrieveAvailableLanguages
Documentation: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/retrieveavailablelanguages?view=dynamics-ce-odata-9

How to Retrieve and Update the Logged In Users Language settings
Endpoint: /api/data/v9.1/usersettingscollection(UserGuid)?$select=uilanguageid,helplanguageid
Replace: UserGuid with GUID of SystemUser

uilanguageid = The Language of the UI
helplanguageid = The Language of the Help

To update the users language, update this record with the lcid you wish you switch the language to and refresh the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant