Skip to main content

Repetitions

Get information about repetitions in a resource/project.

Written by Antonis Mylonas

By repetitions, we mean the number of times the same string appears in a resource, excluding the original string. The original string isn't counted as a repetition.

🔒 Available on: Growth, Enterprise+ · Who can do this: Organization Administrator, Project Maintainer · Compare plans

When calculating your localization budget, the most significant factors are the number of source words and the cost per word from your vendor. String and word repetitions also need to be considered, allowing vendors to better estimate how long jobs will take to complete and provide a competitive quote at a lower price than if all strings were considered unique.

Transifex provides statistics on repetitions by generating detailed reports at the resource, language, and project levels when requested. Each report includes these four counts:

  • Total repeated string count: the number of repetitions found in the source language. It is unrelated to a string's translation status.

  • Total repeated word count: the word count of the repetitions found in the source language.

  • Untranslated repeated string count: the number of untranslated repetitions in a specific target language. The same resource can have a different number of untranslated repetitions for each target language.

  • Untranslated repeated word count: the word count of the untranslated repetitions in a specific target language.

This information is available on the language pop-up (project>resource>target language) as shown below:

Language pop-up with a Repetitions section showing untranslated words and total words#asset:9658

📝 Note: Repetitions are updated when one of the following events happens:

  1. When a resource is created or updated.

  2. When a string is translated.

  3. When a new target language is added to a project.


Repetitions report for all resources in a project

You can use the report generated on the source content page to get repetitions for a specific project at the resource level for every language.

To request the report:

  1. Go to your Project > Source content.

  2. In the top right corner, click the three vertical dots and select Report.

Source content page with the top-right menu open and Report highlighted

Once you request the report, a zip file will be generated, where 2 CSV files will be included:

  1. A CSV file with string and word repetitions per resource and language, as shown below:
    ​

    CSV report with total and untranslated repeated string and word counts per resource and language#asset:9487


    From the above example, we have:

    • For the source language 'en':

      • For the resource default.xml:

        • total repeated string count: 5

        • total repeated word count: 10

      • For the resource strings.xml:

        • total repeated string count: 5

        • total repeated word count: 10

    • For the target language 'fr':

      • For the resource default.xml:

        • untranslated repeated string count: 5

        • untranslated repeated word count: 10

      • For the resource strings.xml:

        • untranslated repeated string count: 4

        • untranslated repeated word count: 8

  2. A CSV file containing the translation progress report, as described in Resources progress report


Repetitions report for a single resource

Clicking a specific resource on your source content page gives you the same repetitions report, broken down by language, but for that resource rather than all your resources.

To request the report:

  1. Click the resource on your Source content page.

  2. In the top right corner, click the three vertical dots and select Report.

Resource page with the top-right menu open and Report highlighted

Once you request the report, a CSV file will be generated with the four counts described above for the specific resource, for both source and target languages.


Repetitions in languages progress report

You can use the report generated via the Languages page to get repetitions for a specific project broken down by each language.

To request the report:

  1. Go to your Project > Languages.

  2. In the top right corner, click Report.

Languages page with the Report link in the top-right corner#asset:9490

Once you request the report, a CSV file containing the information described here will be generated. The four counts described above each compare all resources in the project.


Repetitions in languages progress report for all projects

If you have multiple projects in your organization and want to export statistics quickly, you can request the report from the Dashboard page:

  1. Go to your Dashboard page from the main navigation.

  2. On the right-hand side, click Report.

All projects page on the Dashboard with the Report link on the right#asset:9491

Once you request the report, a CSV file will be generated with the four counts described above for each project in your organization.


Repetitions examples

Resource A:

Resource A source file with keys 1 to 5 and two plural strings#asset:9645

Resource B:

Resource B source file with keys 6 to 8#asset:9646

Scenario #1: No strings have been translated yet

Scenario 1 report output with counts for Resource A and Resource B, then totals across resources#asset:9647

In Resource A, the Privacy Policy string appears three times. The report counts two instances as repetitions and one as the original string.

Scenario #2: Translate key1 from Resource A and key7 from Resource B in French

Scenario 2 report output with counts for Resource A and Resource B, then totals across resources#asset:9649

📝 Note: Original strings were untranslated in scenario #1, while in scenario #2, they were translated. So, the number of untranslated repetitions hasn't been affected.

Scenario #3: Translate strings from both resources in French

In this scenario, you translate key1, key3, and one of the pluralized strings from Resource A, and key6 and key8 from Resource B, in French.

Scenario 3 report output with counts for Resource A and Resource B, then totals across resources#asset:9657


Repeated strings filter

To find all the strings and their repetitions in Transifex Editor, apply the filter Repeated Strings as follows:

Editor More menu with Repeated Strings checked#asset:6653

A list with all the strings and their identical instances will be returned:

Editor search with repeated strings filter listing the repeated strings#asset:9492

If you want to find the untranslated repetitions, you can combine the above filter with the translated:no filter.

📝 Note: The filter returns all the repeated strings along with their original instances.


💡 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?