Skip to main content
Plain Text

Learn how you can localize Plain text (.txt) files using Transifex.

Antonis Mylonas avatar
Written by Antonis Mylonas
Updated over 9 months ago

File Extension(s)

.txt

i18n type(s)

TXT

Transifex will create a string for every line in the file.

When a translated file is uploaded to Transifex, strings will be mapped to source strings based on their order in the file. For instance, a string appearing 3rd in the translation file will be mapped to the source string appearing 3rd in the source file.

When downloading for use, empty translations in the downloaded file are replaced by their corresponding source strings. When downloading for review, the downloaded file contains the reviewed translations, and any untranslated or translated string is returned in the source language. When downloading for translation, the file contains the translated and reviewed translations, and any untranslated strings are returned in the source language.

Keep in mind that Transifex accepts only 100% translated files with the same number of strings to be uploaded as a translation for this file type. If you try to upload a file that has missing strings, you will receive an error.


Parser behavior

The following table outlines what occurs to strings when using the API, CLI, or UI to manipulate translation files depending on download mode.

*The results are compatible with parser version 2.


💡Tip

Looking for more help? Get support from our Transifex Community Forum!

Find answers or post to get help from Transifex Support and our Community.

Did this answer your question?