How to get list of "locale" via API endpoint

Grzegorz Orda 20 Reputation points
2023-05-04T07:20:26.8333333+00:00

Looking for an endpoint with which I can download all supported "locale"?

On the web site https://learn.microsoft.com/en-us/training/support/catalog-api-developer-reference if the information about supported training languagesUser's image

https://learn.microsoft.com/en-us/locale/ - but is it possible to download this data, for example, in json form instead of manually rewriting from the page ?

The purpose of this is to download a list of languages (locales) then iterate through the languages(locales) to download training for that language

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,799 questions
{count} votes

Accepted answer
  1. 2023-05-04T08:51:20.07+00:00

    Hi @Grzegorz Orda,

    Don't think it's possible to download it in Json form and AFAIK there is no API also fetch this list, you may able to take a screenshot of it for future reference.

    But you can Get and Update the list of regionalAndLanguage with respect to the user, an open type that represents a user's preferences for languages in various contexts, and for regional locale and formatting that drives the default calendar, and formatting for date and time.

    For more information: https://learn.microsoft.com/en-us/graph/api/resources/regionalandlanguagesettings?view=graph-rest-beta


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful