npm.io
0.0.134 • Published 3 years ago

@weareatlas/i18n

Licence
MIT
Version
0.0.134
Deps
0
Size
482 kB
Vulns
0
Weekly
254
Stars
2

Transform your business with Atlas.

With Atlas you have access to a platform where you can map your end-to-end business processes and automate your workflows.

www.weareatlas.com


This repository collects community maintained translations for weareatlas user interface elements, messages and tooltips.

Available Translations

Use a Translation (Optional)

Follow along the i18next example and replace defaultNS with a section within the language file in this repository.

i18next.init({lng, resources, defaultNS,
    fallbackLng: (code) => {
        if (code.startsWith('it')) {
            return 'it-IT';
        }
        if (code.startsWith('de')) {
            return 'de-DE';
        }
        if (code.startsWith('tr')) {
            return 'tr-TR';
        }
        if (code.startsWith('es')) {
            return 'es-ES';
        }
        return 'en-GB';
    }
});

Contributing

Create a new language file and contribute a translation. Checkout en-GB.json for a list of available messages.

License

MIT

Keywords