Please sign in to see the alerts.

Summary

Project website github.com
Instructions for translators

Internationalization (i18n) and Weblate usage

[!NOTE] Only EN and FR locales are fully supported by the XO team.

Internationalization of the app is done with Vue-i18n.

Sources of truth are en.json files, that's why this locale is read-only in Weblate.

Informations about the workflow

Adding a new locale

When you add a new locale, there might be a delay before the new file is available in the /web-core/lib/locales/ folder, as the translations' PR is generally reviewed and merged once by the end of the month, before the technical release.

Adding new translations

When adding new translations in Weblate, an automatic PR is created to update the translation files in the repository.

Weblate checks regularly for new translations and updates the PR accordingly.

When adding new translations, please make sure to follow the [](#general-guidelines-when-adding-translations-in-weblate) below to ensure consistency across all locales.

General guidelines when adding translations in Weblate

Punctuation

Strings punctuation SHOULD be included in the translation key.

This allows better adapting the punctuation to the rules of the target language.

For example:

  • in English, interrogative sentences end with a question mark with no space before it
  • in French, interrogative sentences end with a question mark with a space before it
  • in Spanish, interrogative sentences start with an inverted question mark and end with a question mark with no spaces

[!IMPORTANT] Since HTML is not accepted in translations, you must use a non-breaking space character ( ) instead of  

Example

English
{
  "confirm": "Confirm",
  "confirm?": "Confirm?",
  "warning": "Warning",
  "warning!:": "Warning!"
}
French
{
  "confirm": "Confirmer",
  "confirm?": "Confirmer ?",
  "warning": "Avertissement",
  "warning!:": "Attention !"
}
Spanish
{
  "confirm": "Confirmar",
  "confirm?": "¿Confirmar?",
  "warning": "Advertencia",
  "warning!:": "¡Atención!"
}

Pluralization

When a number is involved, the translation MUST use VueI18n pluralization system.

Example

English
{
  "n-car": "You have one car | You have {n} cars"
}

French

{
  "n-car": "Vous avez une voiture | Vous avez {n} voitures"
}

Handling zero in pluralization and custom plural forms

When handling the pluralization of zero, you should provide a separate translation value for the zero cases.

Example

{
  "item-count": "You have no items | You have one item | You have {n} items"
}

French

{
  "item-count": "Vous n'avez aucun article | Vous avez un article | Vous avez {n} articles"
}

To use a custom plural form for complex translations, please refer to the VueI18n custom pluralization documentation.

[!NOTE] You can check the pluralization rules for each language on the info page of the locale in Weblate (e.g. https://translate.vates.tech/projects/xen-orchestra/xen-orchestra-6/en/#information).

Line breaks

Some translations contain a {newline} placeholder. It represents a line break that will be displayed in the application.

When translating, keep {newline} as-is in your translation and place it where the line break should appear.

[!IMPORTANT] Do not translate, modify, or remove {newline}.

Example

{
  "page-please-wait": "Hold tight, astronaut! The page is getting ready to take off.{newline}We're just aligning the thrusters and calibrating the systems."
}

Linked translations

Sometimes we may need to add the same translation for different keys, because in one language the translation is the same, but in another language it may differ due to context (for example, in french the gender differs depending on the context).

If the translation in your language for this new key is the same as an already existing one, to avoid duplications you can use linked translations with the syntax @:<key>.

Example

{
  "save": "Save",
  "save-changes": "@:save"
}

This provides the option to override the save-changes translation in some locales if needed, while keeping the same translation as save by default.

Project maintainers2 User avatar olivier.floch User avatar stephane.merle
Project reviewers2 User avatar olivier.floch User avatar stephane.merle
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Translations are reviewed by dedicated reviewers.
  • Any authenticated user can contribute.
  • The translation uses monolingual files.
  • The translation base language can not be edited.
Source code repository https://github.com/vatesfr/xen-orchestra.git
Repository branch master
Pull request https://github.com/vatesfr/xen-orchestra/pull/10971
Last remote commit fix(web-core): stop the page sliding sideways to closed side panels (#10973) 5ca2958d2
Joris K authored 12/02/2026
Last commit in Weblate docs(backups): add a procedure to repair a broken incremental chain (#10966) 205ae6794
Killian authored 12/02/2026
Weblate repository https://translate.vates.tech/git/xen-orchestra/xen-orchestra-6/
File mask @xen-orchestra/web-core/lib/locales/*.json
Monolingual base language file @xen-orchestra/web-core/lib/locales/en.json
12/02/2026

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 46,115 213,969 1,261,757
Source 2,005 9,303 54,859
Approved 1% 67 1% 146 1% 871
Waiting for review 63% 29,094 54% 116,425 53% 678,832
Translated 67% 31,166 58% 125,874 58% 734,562
Needs editing 1% 359 2% 4,325 2% 26,898
Read-only 4% 2,005 4% 9,303 4% 54,859
Failing checks 1% 880 1% 1,833 1% 16,492
Strings with suggestions 1% 16 1% 36 1% 196
Untranslated strings 31% 14,590 39% 83,770 39% 500,297

Quick numbers

213 k
Hosted words
46,115
Hosted strings
67%
Translated
64
Contributors
0
Components
23
Languages
23
Translations
2
Screenshots
and previous 30 days

Trends of last 30 days

+27%
Hosted words
+14%
+21%
Hosted strings
+11%
−18%
Translated
+29%
−100%
Contributors
−100%
User avatar weblate:update Origin: System

Remote repository updated

Remote repository updated

Original revision: 205ae67940e24a921c9b1cd6c8892ab075cefa84
New revision: 5ca2958d2ae67c164d646838c7e5bbf5e78c673b 12/03/2026
User avatar olivier.floch Origin: Web

Translation completed

Translation completed 12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Web

Translation changed

12/02/2026
User avatar olivier.floch Origin: Repository

Resource updated

The “@xen-orchestra/web-core/lib/locales/zh-Hans.json” file was changed. 12/02/2026
Browse all component changes