mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
The ./i18n entry exports t, tn, msg, translateKnown and the number and date
formatters. setMessageOverrides({ en: {...}, de: {...} }) shows the
application's text for any catalog key: in the active locale, else its
English, else Core's translation.
7 lines
369 B
Markdown
7 lines
369 B
Markdown
- Let an application that composes Core use its translator and word Core's
|
|
messages its own way. The `./i18n` entry exports `t`, `tn`, `msg`,
|
|
`translateKnown` and the number and date formatters, and
|
|
`setMessageOverrides({ en: {…}, de: {…} })` shows the application's text for
|
|
any catalog key, in the active locale or else in English (samehkhamis,
|
|
#1741).
|