TMX — UI Strings (en + FR/DE/PT-BR/KO)
A Translation Memory eXchange (TMX 1.4) file with English source and four target locales — for CAT tool and TMX parser tests.
<?xml version="1.0" encoding="UTF-8"?>
<tmx version="1.4">
<header creationtool="NovusExamples" creationtoolversion="1.0" segtype="sentence" o-tmf="plaintext" adminlang="en" srclang="en" datatype="plaintext"/>
<body>
<tu tuid="greeting">
<tuv xml:lang="en"><seg>Hello</seg></tuv>
<tuv xml:lang="fr"><seg>Bonjour</seg></tuv>
<tuv xml:lang="de"><seg>Hallo</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Olá</seg></tuv>
<tuv xml:lang="ko"><seg>안녕하세요</seg></tuv>
</tu>
<tu tuid="welcome">
<tuv xml:lang="en"><seg>Welcome, {name}</seg></tuv>
<tuv xml:lang="fr"><seg>Bienvenue, {name}</seg></tuv>
<tuv xml:lang="de"><seg>Willkommen, {name}</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Bem-vindo, {name}</seg></tuv>
<tuv xml:lang="ko"><seg>환영합니다, {name}</seg></tuv>
</tu>
<tu tuid="save">
<tuv xml:lang="en"><seg>Save</seg></tuv>
<tuv xml:lang="fr"><seg>Enregistrer</seg></tuv>
<tuv xml:lang="de"><seg>Speichern</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Salvar</seg></tuv>
<tuv xml:lang="ko"><seg>저장</seg></tuv>
</tu>
<tu tuid="cancel">
<tuv xml:lang="en"><seg>Cancel</seg></tuv>
<tuv xml:lang="fr"><seg>Annuler</seg></tuv>
<tuv xml:lang="de"><seg>Abbrechen</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Cancelar</seg></tuv>
<tuv xml:lang="ko"><seg>취소</seg></tuv>
</tu>
<tu tuid="search">
<tuv xml:lang="en"><seg>Search</seg></tuv>
<tuv xml:lang="fr"><seg>Rechercher</seg></tuv>
<tuv xml:lang="de"><seg>Suchen</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Buscar</seg></tuv>
<tuv xml:lang="ko"><seg>검색</seg></tuv>
</tu>
<tu tuid="settings">
<tuv xml:lang="en"><seg>Settings</seg></tuv>
<tuv xml:lang="fr"><seg>Paramètres</seg></tuv>
<tuv xml:lang="de"><seg>Einstellungen</seg></tuv>
<tuv xml:lang="pt-BR"><seg>Configurações</seg></tuv>
<tuv xml:lang="ko"><seg>설정</seg></tuv>
</tu>
<tu tuid="logout">
<tuv xml:lang="en"><seg>Log out</seg></tuv>
<tuv xml:lang="fr"><seg>Déconnexion</seg></tuv>
<tuv xml:lang="de"><seg>Abmelden</seg></tuv>Specifications
- Format
- TMX 1.4
- Source
- en
- Targets
- fr,de,pt-BR,ko
- Tus
- 7
What is a .tmx file?
TMX (Translation Memory eXchange) is an XML standard for exchanging translation-memory segments between CAT tools. A TMX file holds translation units with aligned source and target segments plus metadata.
How to use this file
Use an example .tmx file to test translation-memory importers, TMX validators, and converters to/from XLIFF or gettext catalogs.
How to use this file for testing
“TMX — UI Strings (en + FR/DE/PT-BR/KO)” is a deterministic Novus Examples fixture for Internationalization, Localization catalogs. Parallel text and accented, multi-script content — for testing translation pipelines, Unicode handling, and localization tooling.
Documented properties for this file: TMX 1.4. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Translation-catalog fixtures carry the same message set across formats, each with its native placeholder syntax. Test your i18n loader, catalog converter, or translation-memory tool, and use the RTL and CJK variants to check bidirectional text and Unicode handling.
Load the catalog with your i18n framework and verify placeholder interpolation and plural handling; the RTL and CJK variants exercise bidirectional text and font fallback.
Code examples
from translate.storage.tmx import tmxfile
store = tmxfile.parsefile("ui-strings.tmx")
for unit in store.units[:5]:
print(unit.source, "->", unit.target)Related files
- resx.NET RESX — EnglishA .NET Resources.resx file (English) with the standard ResX schema and resheader block plus name/value string data and comments, using {0} composite-format placeholders.

- resx.NET RESX — SpanishThe Spanish satellite RESX (Resources.es.resx) — for testing .NET resource parsers and culture-based resource resolution against the same keys.

- xmlAndroid strings.xml — EnglishAn Android values/strings.xml (English) with string resources, a <plurals> block, and a <string-array>, using positional %1$s placeholders — the res/values/ default catalog.

- xmlAndroid strings.xml — SpanishThe Spanish Android strings.xml (as res/values-es/) — for testing Android resource parsers, plurals, and string-array localization.

- stringsApple .strings — EnglishAn Apple Localizable.strings file (English) — quoted key = value pairs with comments and %@ placeholders, as iOS/macOS apps use per-locale in .lproj folders.

- stringsApple .strings — SpanishThe Spanish twin of the Apple .strings catalog — for testing .strings parsers and en/es diffing against the same keys.

Generated by generation/localization_wave_c.py. Free for any use, no attribution required — license.