Open bolinfest opened 3 months ago
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.
locale
I get US English regardless of what value I specify for locale.
Look at the javascript-basic-consumer sample:
javascript-basic-consumer
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.
locale: 'de_DE'
Category
Expected or Desired Behavior
https://learn.microsoft.com/en-us/onedrive/developer/controls/file-pickers/?view=odsp-graph-online#permissions claims that:
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.