Skip to main content

Rigi Documentation

Import translation files

Rigi enables translations of Rigi XLIFF or XML files in third-party editors (for details, see the Translate using a third-party translation tool section).

When such a translation is finished, you can import XLIFF or XML files containing translations:

  1. Open the required project.

  2. In the project menu, select Texts > Overview.

  3. Click the Import button.

    Import1.png

  4. In the Import files popup, drop or select the required files.

  5. (Optional) Select the Unlock string list checkbox to be able to process the translations further.

  6. Click the Import button.

The imported translations will now be available in the project.

XLIFF string state mapping

When you import an untranslated string into Rigi, Rigi sets its state to untranslated.

When you import a translated, reviewed, or validated string, the following rules apply:

Table 29.

State in Rigi

State in imported file -> Resulting state in Rigi

Translated

Untranslated -> Untranslated

Translated -> Translated

Reviewed -> Reviewed

Validated -> Validated

Reviewed

Untranslated -> Untranslated

Translated -> Reviewed

Reviewed -> Reviewed

Validated -> Validated

Validated

Untranslated -> Untranslated

Translated -> Validated

Reviewed -> Validated

Validated -> Validated


Table 30. XLIFF state attribute mappings to Rigi states

XLIFF state attribute

Rigi state

final

Validated

needs-adaptation

Untranslated

needs-l10n

Untranslated

needs-review-adaptation

Translated

needs-review-l10n

Translated

needs-review-translation

Translated

needs-translation

Untranslated

new

Untranslated

signed-off

Reviewed

translated

Translated