Editor Strings

Search strings across all your organization's projects and languages.

Nina avatar
Written by Nina
Updated over a week ago

Editor Strings allows you to filter (text) and illustrate key string results across all your projects and languages in one instance via your organization’s page. Simplistic in its use, and just with a few clicks, indicate from the selected pool of strings and switch to the editor with one click to conduct all your edits in an organized, efficient manner.


How it works

  1. Enter TX and click the “Strings” option on the top menu bar.

  2. Click on the Editor Strings tab.

  3. Enter the text in the search field, hit Enter on your keyboard, or click the “Search” button. This will automatically search for the source text and fetch all the strings that include any words entered in the search field.

  4. If you wish to filter the results further, click in the “Filters” box below to set your search criteria per project/ source language/target language /resource/text /status /user/date or key.

  5. Subsequently, a table is generated, including all the string results (with a threshold of up to 4,000 entries) and a sorting option (which must be performed before searching) that can sort the strings based on:

    • Last activity (fetches the most recent reviewed strings).

    • Project (segments strings per project).

    • Relevance (sorts by text relevance).

    • Appearance order (Source strings are sorted based on the order they appear in our database, and all translations for each string are grouped together, providing a unified view of multilingual content).

  6. The “Items per page” on the top left side of the table can display up to 100 entries.

  7. Pagination is displayed on the right top of table "1-10 of 230", and by clicking the

    arrow icons, you can navigate to the next or previous page.

  8. The below window will slide from the right containing valuable info regarding the specific string by clicking on a string.

    GS2_200218_101405.png#asset:6725

  9. You can open the string in the editor by clicking on the “Open in Editor” button below or directly clicking on the corresponding icon.

    openineditor.png#asset:9804


    The editor opens in a new tab.


Specifics & Conditions

  • For optimal performance, the search fetches up to 4,000 entries; when exceeded, the entries are displayed as 4,000+. If the threshold of search results is reached, a message will appear: "Please refine your search criteria".

  • Only one sorting can be performed at a time, e.g., sorting by source language and then sorting by project name will result in removing the first sorting by source language.

  • Sorting can be performed before searching for strings.

  • Default sorting is by “Project” if only filters have been used.

  • If text search is also used, results are sorted by “Relevance”.


Full-Text Search

Search strings perform “full-text search”, which analyzes the language of the saved content and the query to find matches.

What happens when you search for "..." and why is it not returning the expected results?

The “…” query is thus meaningless to search strings. We avoid performing such a query so the user doesn't have to experience an infinite loop.

The API could be a workaround to find all offending translations.


Here is a snippet of code doing this using the Python API SDK:

python -m venv transifex_api
source ./transifex_api/bin/activate
python -m pip install transifex-python
import itertools
from transifex.api import transifex_api

transifex_api.setup(auth=API_TOKEN)
organization = transifex_api.Organization.get(slug=ORGANIZATION_SLUG)
for project in organization.fetch('projects').all():
for resource, language in itertools.product(
project.fetch('resources').all(),
project.fetch('languages').all()):
for translation in (transifex_api.ResourceTranslation.
filter(resource=resource,
language=language,
translated="true").
all()):
if any(("..." in string
for string in translation.strings.values())):
print(f"Project: {project.slug}, "
f"Resource: {resource.slug}, "
f"Language: {language.code}, "
f"Text: {translation.strings['other']}")


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