What to translate, what to leaveCe qui se traduit, ce qui ne se touche pas
Back to the sentence from the guide of our fictional client, Cascade Pumps Inc.:
<p>Install the <strong>centrifugal pump</strong> on a level surface.</p>In French:
<p>Installez la <strong>pompe centrifuge</strong> sur une surface plane.</p>The text changed, the structure did not. The tags are the same and there are as
many of them, and <strong> followed the term it emphasizes, which no longer
comes at the same place in the sentence.
What is translated
- Element content, meaning the text between the tags. In TMX, TBX and XLIFF XML Localization Interchange File Format (XLIFF)XML Localization Interchange File Format (XLIFF) exchange formatsformats d'échange The XML-based bilingual format for passing content through a localization workflow: source and target segments travel together with workflow metadata such as translation status, rather than exchanging linguistic resources.Format bilingue fondé sur XML pour faire circuler du contenu dans un flux de localisation : segments source et cible voyagent ensemble, avec des métadonnées de flux de travail comme le statut de traduction, contrairement aux formats d'échange de ressources linguistiques. , that is always where the text to translate is.
- A few attribute values, the ones whose text is meant to be read: in HTML HyperText Markup Language (HTML)langage HTML (HTML) markupbalisage The markup language of web pages: a vocabulary of elements laid down by a standard, marking headings, paragraphs, links, images and the rest, which a browser renders.Langage de balisage des pages web : un vocabulaire d'éléments fixé par une norme, qui marque les titres, les paragraphes, les liens, les images et le reste, et qu'un navigateur affiche. ,
altandtitle.
What is left alone
- Tag tagbalise markupbalisage A marker that delimits and identifies an element in a markup document, usually working as a pair: an opening tag and a closing tag around the content they label.Marqueur qui délimite et identifie un élément dans un document balisé, fonctionnant généralement par paire : une balise ouvrante et une balise fermante autour du contenu qu'elles désignent. names.
<p>,<seg>,<term>are part of the format; translating them makes the file unusable. - Identifiers and language codes.
id,tuid,xml:langconnect the elements to each other and tell the tool which language it is reading. - File names and paths, such as
src="pump-diagram.png". - The header. The tool writes it and uses it.
Inline tags
This is the daily point of friction. In your CAT tool these tags do not appear in their XML form: you see small numbered markers to place in the target segment segmentsegment CAT toolsTAO A portion of translatable content that a CAT tool treats as a discrete unit for translation, alignment, storage and match retrieval.Portion de contenu à traduire qu'un outil de TAO traite comme une unité distincte aux fins de traduction, d'alignement, de stockage et de recherche de correspondances. . Three rules:
- every tag in the source segment has to turn up in the target segment;
- an opening tag and its closing tag wrap the matching stretch of text, which can move within the sentence;
- their order can change, their number and their pairing cannot.
Depending on the tool, a missing inline tag gives you a quality-assurance warning, formatting lost in the delivered document, or a file rejected when the original document is rebuilt.Files fail in two different ways, and the words for them are worth knowing. A file that follows XML’s own rules, every tag closed and properly nested, every reserved character replaced, is well-formed; break one of those and no program will read it at all. A file that is also built the way its format requires, the right elements in the right places, is valid; break that and the file still opens, but the tool it was meant for refuses it or quietly ignores what it does not expect.
Reprenons la phrase du guide de notre client fictif, Cascade Pumps Inc. :
<p>Install the <strong>centrifugal pump</strong> on a level surface.</p>En français :
<p>Installez la <strong>pompe centrifuge</strong> sur une surface plane.</p>Le texte a changé, la structure non. Les balises sont les mêmes et en même
nombre, et <strong> a suivi le terme qu’il met en relief, lequel n’occupe
plus la même place dans la phrase.
Ce qui se traduit
- Le contenu des éléments, c’est-à-dire le texte entre les balises. Dans TMX, TBX et XLIFF XML Localization Interchange File Format (XLIFF)XML Localization Interchange File Format (XLIFF) exchange formatsformats d'échange The XML-based bilingual format for passing content through a localization workflow: source and target segments travel together with workflow metadata such as translation status, rather than exchanging linguistic resources.Format bilingue fondé sur XML pour faire circuler du contenu dans un flux de localisation : segments source et cible voyagent ensemble, avec des métadonnées de flux de travail comme le statut de traduction, contrairement aux formats d'échange de ressources linguistiques. , c’est toujours là que se trouve le texte à traduire.
- Quelques valeurs d’attributs, celles qui portent du texte destiné à être lu :
en HTML HyperText Markup Language (HTML)langage HTML (HTML) markupbalisage The markup language of web pages: a vocabulary of elements laid down by a standard, marking headings, paragraphs, links, images and the rest, which a browser renders.Langage de balisage des pages web : un vocabulaire d'éléments fixé par une norme, qui marque les titres, les paragraphes, les liens, les images et le reste, et qu'un navigateur affiche. ,
altettitle.
Ce qui ne se touche pas
- Les noms de balises tagbalise markupbalisage A marker that delimits and identifies an element in a markup document, usually working as a pair: an opening tag and a closing tag around the content they label.Marqueur qui délimite et identifie un élément dans un document balisé, fonctionnant généralement par paire : une balise ouvrante et une balise fermante autour du contenu qu'elles désignent. .
<p>,<seg>,<term>font partie du format ; les traduire rend le fichier inutilisable. - Les identifiants et les codes de langue.
id,tuid,xml:langrelient les éléments entre eux et disent à l’outil quelle langue il lit. - Les noms de fichiers et les chemins, comme
src="pump-diagram.png". - L’en-tête. L’outil l’écrit et s’en sert.
Les balises internes
C’est le point de friction quotidien. Dans votre outil de TAO, ces balises n’apparaissent pas sous leur forme XML : vous voyez de petits marqueurs numérotés, à replacer dans le segment segmentsegment CAT toolsTAO A portion of translatable content that a CAT tool treats as a discrete unit for translation, alignment, storage and match retrieval.Portion de contenu à traduire qu'un outil de TAO traite comme une unité distincte aux fins de traduction, d'alignement, de stockage et de recherche de correspondances. cible. Trois règles :
- toutes les balises du segment source doivent se retrouver dans le segment cible ;
- une balise ouvrante et sa fermante encadrent le passage correspondant, qui peut se déplacer dans la phrase ;
- leur ordre peut changer, leur nombre et leur appariement non.
Selon l’outil, une balise interne manquante donne un avertissement de contrôle qualité, une mise en forme perdue dans le document livré, ou un fichier refusé au moment de reconstruire le document d’origine.Un fichier peut échouer de deux façons, et il vaut la peine de connaître les mots qui les distinguent. Un fichier qui respecte les règles propres à XML, chaque balise fermée et correctement imbriquée, chaque caractère réservé remplacé, est bien formé ; enfreignez l’une de ces règles et plus aucun programme ne le lira. Un fichier qui est en plus construit comme son format l’exige, les bons éléments aux bons endroits, est valide ; enfreignez cela et le fichier s’ouvre quand même, mais l’outil auquel il était destiné le refuse ou ignore en silence ce qu’il n’attendait pas.
Sources
- WHATWG (2026). HTML Standard. Living Standard. https://html.spec.whatwg.org/multipage/
- GALA (Globalization and Localization Association) (2005). TMX 1.4b Specification. https://resources.gala-global.org/tbx14b/
- OASIS (2025). XLIFF Version 2.2. Organization for the Advancement of Structured Information Standards, Committee Specification 01. https://www.oasis-open.org/standard/xliff-v2-2-cs01/
Sources
- WHATWG (2026). HTML Standard. Living Standard. https://html.spec.whatwg.org/multipage/
- GALA (Globalization and Localization Association) (2005). TMX 1.4b Specification. https://resources.gala-global.org/tbx14b/
- OASIS (2025). XLIFF Version 2.2. Organization for the Advancement of Structured Information Standards, Committee Specification 01. https://www.oasis-open.org/standard/xliff-v2-2-cs01/