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 more languages to the project and manage their translation, choosing your preferred translation option from the ones available.

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 steps, consider using the POEditor API or one of the integrations with code hosting platforms.

Additional help

Related articles