Lokalise_API_LP_hero@2x Create translations tasks via the API

Translation API by Lokalise

Manage and translate text in minutes with Lokalise API and AI translation

Tailor translation workflows to align perfectly with your development process using a robust API and ready-made SDKs, all in one place. Translate text with AI and automate manual translation tasks and notifications for maximum efficiency and visibility.

Lokalise is loved by tech teams at 3000+ global companies

Logo (6)
Logo (3)
Logo (17)
Logo (14)
Logo (9)
Logo (22)
Logo (19)
Logo (10)
Logo (26)
Logo (12)
Logo (1)
Logo (24)
Logo (25)
Logo (30)
Logo (4)
Logo (31)
Logo (23)
Logo (7)
Logo (28)
Logo (8)
Logo (21)
Logo (20)
Logo (5)
Logo (15)
Logo (29)
Logo (27)
Logo (11)
Logo (13)
Logo
Logo (18)
Logo (2)
Logo (32)

What can you translate with Lokalise API?

Lokalise supports 135 languages and is designed for businesses that need to translate large volumes of text for documents, websites, and apps into many different languages.

  • option image

    Mobile apps

    Localize design and UI copy for iOS and Android.
  • option image

    Games

    Localize games for players in every market.
  • option image

    Software

    Translate sites and apps, server- or client-side.
  • option image

    Documentation

    Translate guides and FAQs into every language.

API translation that’s easy to integrate

Discover SDKs for popular programming languages, making it easy to integrate Lokalise into existing applications. With clear documentation and a playground to test endpoints, you’ll get API translation up and running in no time.
Try API translation for free

Group 427323055

Translate text with AI for fast and accurate results

Use AI translation tailored to your business for accurate results in a matter of minutes. Automatically upload and download translated AI content via Lokalise API for a smooth translation process.
Explore AI translation

Group 427323056

Automate translation tasks via API endpoints

Lokalise RESTful API lets developers quickly and easily integrate advanced translation features into their projects, simplifying product localization.

steps

Get rid of manual translation tasks

Use these endpoints to manage data in your projects:


Lokalise also supports branching, so you can specify a project branch when sending a request.
steps

Deploy translation updates instantly

Implement an over-the-air localization workflow in your apps, so users get the latest translations on their mobile applications without you submitting a new version to the app stores.

Learn more about the Lokalise OTA SDK.

Translate text at scale with Lokalise RESTful API

A flexible and fully customizable API, supported by clear-how-to documentation and script templates for faster implementation.

  • Vector
    95 endpoints

    Control and automate translation tasks with a feature-rich API.

  • Group 627841
    33 webhooks

    Get notified about updates in your localization projects.

  • Group 627845
    10 pre-made SDKs

    Jump-start multilingual projects without crafting custom solutions.

Try Lokalise API for free

How Lokalise API works for translation

  • 1

    Connect API endpoints to your 
Lokalise project

    Sign into Lokalise, go to your project and click more>settings, copy your project ID and paste into your endpoint templates.

    How Lokalise API works for translation
  • 2

    Next, get your API token

    Click on your profile avatar in the left-hand corner and choose profile settings. Go to API token tab and click ‘generate new token’ (read-only or read-and-write). Paste it to the API token header field in your endpoint templates.

    How Lokalise API works for translation
  • 3

    Try API endpoints

    To translate text files, you’ll need to use these two endpoints in this order:

    1. Upload a translation file
    2. Create a translation task
    Fill in the other parameters, like task description, due date, task type ‘translation’, source and target languages, and then click ‘try it’ to get an instant response. Click on the clipboard icon to copy the response or go to your Lokalise project to see updates triggered by your endpoints.

    How Lokalise API works for translation
  • 4

    Get translated text

    Once files have been uploaded, and your translation task has been assigned and completed, fetch translations using the ‘Download files’ endpoint.

    Note: if you want to translate with AI, you’ll need to set up automations inside Lokalise that trigger machine translations as soon as you create a task via the API.

    How Lokalise API works for translation
How Lokalise API works for translation
How Lokalise API works for translation
How Lokalise API works for translation
How Lokalise API works for translation

Developer essentials

Group 427322844

Create your app

Start building your own app to connect to Lokalise.

Frame 1000002208

API tutorials

Learn how to use Lokalise APIs to automate your repetitive and manual processes.

Group 427322877

OAuth 2

With the OAuth 2 authentication, an application can make requests to Lokalise API v2 on a user’s behalf.

FAQs

Which Lokalise plans include API access?
All paid plans include API access. Whether you're on a Start, Essential, Pro, or Enterprise plan, you'll have full access to the Lokalise API to automate your localization and translation workflows.
Is parallel API access supported?
Yes, parallel API calls are supported Lokalise allows up to 6 API requests per second, making it suitable for applications that need to make multiple simultaneous calls to the API.
Do you offer branching support?
Yes, Lokalise supports branching. Similar to GitHub's branching model, you can specify a project branch when sending API requests. Branching lets you work on multiple branches and maintain separate localization workflows for different features or versions of your product. For more detailed information on how branching works in Lokalise, check out the documentation.
Do you provide OTA API?
Yes, we do. We provide a public API that enables building and managing over-the-air bundles bundles, and making requests from your application as covered here. We also provide pre-built SDKs for iOS, Android, and Flutter applications, for a quick and simple implementation of the OTA (Over-the-air) service in mobile applications.
Do you support OAuth 2?
Yes. If your app needs to act on behalf of another user, you can implement an OAuth 2 flow: Developers can build their own applications to manage user data in Lokalise using the OAuth 2 authentication flow.