Knowledge Base

Documentation to help you use the POEditor localization platform effectively

How to translate strings from a Symfony app or site

Owner Admin Contributor

To translate Symfony apps or websites with POEditor, you first need to set up your translation project. The steps to make a basic setup for translating your app or site are described below.

1. Create a translation project

Log in to your POEditor account, create a new project in your Dashboard and add your software's source language to it. This will be set later on as Default Reference Language for the project.

2. Import source XLIFF file (.xlf)

In the project page, use the Import functionality to upload the strings from your source XLIFF 1.2 file, with translations in the source language created at the first step. Make sure to check that you want to get translations from the <source> instead of the <target> tag (the strings in the <source> tag are the texts in the source language).

Import Symfony source file (Import page) - POEditor translation platform

After you import the source language from the source file, we strongly recommend you set it as your project's Default Reference Language.

3. Translate your Symfony app or site

Add the languages you want, then choose how to translate them:

Translation memory (available from the Start plan) suggests earlier translations of identical strings, and QA checks and QE feature catch issues before export.

4. Export the localized XLIFF files

At any point during the Symfony app or site localization process, you can download your target languages in the XLIFF 1.2 file format using the Export functionality.

To export in the XLIFF format it is required to have a Default Reference Language set on the project in the project's settings.

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 an .xlf file, not translate it? Use the XLIFF Editor.

Additional help

Related articles