Localization across 71 locales
71 locales. Load only what you need.
Lyra ships one English source catalog and 70 translated component string catalogs, including RTL languages. Applications load a selected catalog, choose the effective locale, and provide their own translated data and page copy.
Example
Load and register only the locale the visitor selected.
// npm i @aceshooting/lyra-translations (catalogs load from it)
import { loadLyraLocale } from '@aceshooting/lyra-ui/locale-loader.js';
import { setLyraLocale } from '@aceshooting/lyra-ui/localization.js';
await loadLyraLocale('fr');
setLyraLocale('fr');