Message Syntax
messageSyntax is selected per project. Mixing vue and icu syntax per dictionary is not supported.
Vue syntax
vue syntax is a lightweight format close to vue-i18n message format syntax.
yaml
named: "Hello {user-name}"
list: "{0} and {1} translations"
plural: "no apples | one apple | {count} apples"
target: "linked message"
linked: "@.capitalize:target"ICU syntax
icu syntax is handled by FormatJS ICU Message syntax.
yaml
hello: "Hello {name}"
apples: "{count, plural, =0 {No apples} one {One apple} other {# apples}}"Related API: