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

Specifying locale seems to have no effect #1789

Open
1 of 3 tasks
bolinfest opened this issue Apr 11, 2024 · 0 comments
Open
1 of 3 tasks

Specifying locale seems to have no effect #1789

bolinfest opened this issue Apr 11, 2024 · 0 comments

Comments

@bolinfest
Copy link

Category

  • Question
  • Documentation issue
  • Bug

Expected or Desired Behavior

https://learn.microsoft.com/en-us/onedrive/developer/controls/file-pickers/?view=odsp-graph-online#permissions claims that:

  const queryString = new URLSearchParams({
    filePicker: JSON.stringify(config),
    locale,
  });

should honor the specified locale.

Observed Behavior

I get US English regardless of what value I specify for locale.

Steps to Reproduce

Look at the javascript-basic-consumer sample:

https://github.com/OneDrive/samples/blob/71ca0835e6da93c078ddb6c41cf21aec6792d2a9/samples/file-picking/javascript-basic-consumer/index.html#L43-L45

and add locale: 'de_DE' as specified in the docs. If you run the sample, things load in English for me rather than German.

[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

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