Skip to content

i18n formats

Locize supports a wide range of internationalization (i18n) formats to fit your project’s needs. Each format comes with specific features to help you maintain correct syntax and streamline your localization workflow.

If you need a format that isn’t listed here, send us an email; we’re always working to extend our supported formats!

The chosen i18n format will always be respected. There is no format conversion when importing or exporting file formats. Learn more about i18n formats in this blog post.


Supported Formats & Features

FormatSyntax HighlightingPlural ConversionGroupingMore Info
i18next / locizify✅✅✅i18next / locizify
MessageFormat v1✅not necessary,
solved directly in format
MessageFormat v1
MessageFormat v2✅not necessary,
solved directly in format
MessageFormat v2
fluent✅not necessary,
solved directly in format
fluent
vue-i18n✅not necessary,
solved directly in format
vue-i18n
i18n.js / ruby✅✅✅i18n.js
polyglot.js✅not necessary,
solved directly in format
polyglot.js
android✅✅✅android

Feature Details

  • Syntax Highlighting: Format-specific syntax is highlighted for easier editing.
  • Plural Conversion: Plurals are automatically generated as needed (where supported).
  • Grouping: Segments are grouped by plurals and context (where supported).

i18next / locizify

MessageFormat v1 (ICU)

  • Arguments in single braces ({name}), plurals and selects inside the message: {count, plural, one {# file} other {# files}}.
  • For i18next: i18next-icu.

MessageFormat v2

  • The Unicode standard of MessageFormat: variables with a $ ({$name}), functions like {$count :number}, plurals and selects through .match with variants, each pattern in {{…}}:
    .input {$count :number}
    .match $count
    one {{You have {$count} file}}
    * {{You have {$count} files}}
  • Locize checks the syntax as the runtime does, highlights it in the editor, and checks the plural keys of every :number or :integer selector against each language's plural categories (the catch-all * counts as other).
  • MessageFormat v1 values are not converted: {name} in MessageFormat v2 is a literal text, not a variable.
  • For i18next: i18next-mf2.

fluent

vue-i18n

i18n.js / ruby

polyglot.js

android