Get Phrases REST API Endpoint - Specify A Language

Retrieve translations for a single language using the languageCode parameter in the Localize REST API’s Get Phrases endpoint. Reduce data and target specific language content.

Kirk B.
April 12, 2022

We've added the ability to retrieve the translations for a specific language when using the Get Phrases endpoint of the Localize REST API.

Previously, translations for all languages were returned (which is still an option).

Simply provide the language code for your desired language in the languageCode parameter. With the language code option, you can target a specific language's translations, minimizing the amount of data that's returned in the call.

You can find the language codes here in your dashboard.

Quickest Method for Publishing Translations

Talk to an expert today to find out how you can translate your website in minutes, not months.