Welcome to One Dionys - Internationalization i18n Support!
Support for multilingual experiences in web applications, including text translation and content localization.
Requirements
Web Browser- Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].Internet- Because many use CDN and to make it easier to find solutions to all problems.
How To Use
Example Syntax
const i18nSupport = require('i18n-support');
const greeting = i18nSupport.translate('hello', 'fr');
console.log(greeting); // Output: Bonjour
Explanation
- This package provides support for internationalization (i18n) by allowing you to translate strings into different languages. The translate function takes two arguments: the key of the string to be translated and the target language code. If the translation for the given key and language exists, it returns the translated string; otherwise, it returns the default string in English.
Return Value
- The translate function returns the translated string if the translation is available in the specified language, otherwise it returns the default string in English.
Release Date
- v1.0.0 : 18 March 2024
- v1.0.1 : 18 March 2024
- v1.0.2 : 24 March 2024
- v5.0.0 : 31 March 2024
Author
- Facebook : Oned Ionys
- Instagram : @onedionys
- Twitter : @onedionys
- LinkedIn : @onedionys
License
- Copyright 2024 One Dionys
- One Dionys - Internationalization i18n Support is an open source project licensed under the MIT license
Suppport & Donation
Love One Dionys - Internationalization i18n Support? Support this project by donating or sharing with others in need.
Made with One Dionys