To translate YAML files, import your source-language YAML file into a POEditor project, translate the strings with any of the available options, then export each language as a localized YAML file. Here's how to set it up.
1. Create a localization project
Log in to your POEditor account, click on the + button to create a translation project and add a language to it (the software's source language).
2. Import strings from your YAML file
In the project page, click on Import to upload the strings from your YAML file to the localization project. Choose Also import translations to a language and select your software's source language.
Once the import is done, go to the project's Settings and make sure the Default Reference Language is set to your source language. Plural forms in your YAML file are imported and shown for each target language.
3. Translate into your target languages
Add the languages you want, then choose how to translate them:
- AI translation with your own OpenAI, Claude, Gemini, Azure AI or Amazon Bedrock account. You can customize the prompt to match your tone.
- Machine translation with Google Translate, DeepL or Azure AI Translator.
- Your own translators, invited as contributors to specific languages.
- Human translations, ordered from the available LSPs.
Translation memory (available from the Start plan) suggests earlier translations of similar strings, and QA checks and QE feature catch issues before export.
4. Export localized YAML files
When you are done, click on Export in any language page to download that language as a YAML file, or use another export option.
If you want to automate the import/export, use the POEditor API, one of the integrations with code hosting platforms or Workflows.
Only need to edit a YAML file, not translate it? See the YAML Editor.
