Create a translation

Create a translation for a phrase

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You can create and view your API Private Key here.

Try it

To test this endpoint using the Try It feature:

  1. Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
  2. Fill in all required fields below, and any optional fields as needed.
  3. Click the Try it button.
  4. View the results and any error returns on the right side of the screen.

Feel free to copy the sample code provided on the right side of the screen into your source code project to get a start on using this endpoint.

Note that using the Try It feature will affect the data in your Localize dashboard!

You can find the language codes here in your dashboard.

Path Params
string
required
Defaults to YOUR_PROJECT_KEY

The Project Key (this is NOT the Project ID)

Body Params
string

The phrase ID to attach the translation to.
Either phrase or phraseKey is required

string

The 'key' of the phrase, often used in mobile app frameworks.
Either phrase or phraseKey is required

string
required
Defaults to Translation goes here

The content of the translation

string
required
Defaults to active

Valid states include: active, inactive
If using the In-Progress Workflow other valid states include: review, rejected
States as seen in the dashboard: inactive = Trashed

string
required
Defaults to en

The language code of the translation

string

An optional description for your translation

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json