Knowledge Base

Documentation to help you use the POEditor localization platform effectively

How to translate Angular apps using XLIFF files

Owner Admin

To translate Angular .xlf files with POEditor, you need to first make a basic setup for your localization project. Steps below.

1. Create translation project

Log in to your POEditor account, create a new translation project and add a language to it (your software's default language).

2. Import Angular XLIFF file (.xlf)

In the project page, use the Import functionality to upload the strings from your Angular XLIFF file, with translations in the language you created, checking to get translations from <source> instead of <target> tag.

Import Angular XLIFF to translation project - POEditor localization platform

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

If you have translations in the <target> tag also and want to add them to the project, create a new language and import them there.

3. Start localization

Add your desired target languages for translation, invite your contributors to join and start localizing your app.

Once you are done with the localization of your Angular app, you can download your target languages in the Angular XLIFF file format using the Export functionality.

Keep in mind that to export in the Angular .xlf format it is required to have a Default Reference Language set.

Export localized Angular XLIFF file - POEditor translation management system

If you want to automate the import/export steps of the localization process, consider using the POEditor API or one of the integrations with code hosting platforms.

Related articles