File Import Settings

.YAML (TMS)

Content is machine translated from English by Phrase Language AI.

Limits may be applied to .YAML files. Only string data is imported, while keys with only numeric values are ignored. Put numbers in quotation marks to import keys with only numeric values.

File Types

  • .YAML

  • .YML

Import Options

  • Parse ICU messages

    ICU messages are automatically converted to tags. When a segment contains inline elements, ICU parsing for that segment is skipped. Segments without inline elements are parsed normally.

    Important

    Issues with tags are a common cause of export errors. Always ensure tags and formatting are correct before exporting files by running quality assurance checks.

  • Use HTML subfilter 

    Imports HTML tags contained in the file. Tags can then be used with HTML File Import Settings.

  • Use Markdown subfilter

    When this option is enabled, some Markdown file import settings will take precedence over YAML settings. For example, the regex to Convert to Phrase tags should be specified in the Markdown settings, as the one set for .YAML will have no effect.

  • Indent empty lines in string blocks

  • Update language declaration in completed files

    Replace the root element containing the source language with target language code in completed .YAML files.

    Supported codes:

  • Convert to Phrase TMS tags 

    Apply regular expressions to convert specified text to tags.

  • Import specific keys only (use regex)

  • Exclude specific values (use regex)

  • Context note

    Matching content is displayed in context notes.

  • Context key

    Specify a context key that is saved with the segment to the translation memory and used for match context.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.