Skip to main content

Adding Content for Translation

Let's get started with uploading or creating your source content in Transifex.

Transifex avatar
Written by Transifex
Updated yesterday

Once you've created a project, you can add or create content for translation. How you do this will depend on whether you have created a file-based, Live, or Native project.

This article describes the File-based approach. If you want to check out how to upload content for the other two project types, then have a look at the respective articles:

๐Ÿ’กTip: If you have an existing Translation Memory (TM) from previous translation efforts, you can upload your TM to Transifex and leverage it.

Uploading TMX files is a feature only available on the Growth plan and up.


File-based projects

๐Ÿ’กTip: The source file's parsing depends on its format and structure. The resulting segmentation in Transifex might affect translators' work, especially if the segments are too long. Take a moment to evaluate if the strings in the source files are too long and need to be modified to help translators.

For example, in the case of an HTML file, adding line breaks will break big paragraphs into smaller segments.

Here, we'll walk you through how to use Transifex's web interface to upload your source files for translation. You can also use the API or command-line client to add files to your project.


Uploading a resource to an empty project

  1. From the project navigation in the Dashboard, select the project you want to upload a file to.
    โ€‹

  2. Click the Upload file button in the project overview.

  3. To upload your file, drag and drop one or more files from your computer or click the Upload a file button.

  4. You can edit the resource name and file format once you've selected your file(s).

  5. Click Upload File when ready.

๐Ÿ“ Note: Maximum File Upload Size: 80MB.


If a project already has a resource

  1. From the project navigation in the Dashboard, select the project you want to upload a file to.

  2. Go to the Resources tab.

  3. To upload your file, click the Add Resources button.

  4. Drag and drop your files in the upload area, or click the select resources button to select files from your computer:
    โ€‹

  5. You can edit the resource name and file format once you've selected your file(s).

  6. Click Upload File when ready.

โš ๏ธWarning: The source file you upload should only have source strings, not translations. After adding your source content to Transifex, you can upload existing translations.


Creating an empty resource

Rather than uploading content to Transifex, you can also create new resources from scratch for certain file types. Following either of the processes mentioned earlier, instead of adding resource, simply select the "Create an empty resource" option:

Select from the available file formats, name your resource, and click "Create resource":

With the empty resource, you can either create source strings or update your resource to introduce content.

๐Ÿ“Note: Not every file format is available for creating resources or strings.


Source file with partial translations

If you have a .po file with partial translations [File A], we recommend creating another copy that should be cleaned up and contain only the source strings [File B].
โ€‹

After cleaning up the source file, please follow the steps:

  1. Upload the clean source file [File B] to your project.

  2. Click on the desired target language for which you already have a translation.

  3. Click "Upload file" or "Upload XLIFF file" (only available on the Growth subscription and up) to upload the translations you already have [File A].


๐Ÿ’ก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?