Overview of @freshworks/crayons-i18n
nextThe @freshworks/crayons-i18n library is an internationalization (i18n) framework designed specifically for use with crayons components. It enables applications to handle multi-language support by providing several core capabilities:
- User language detection: Automatically identifying the user's preferred language.
- Proper pluralizations: Handling different grammatical rules for plural forms.
- Translation context: Providing context for translations to ensure accuracy.
- Nesting of keys: Allowing organized, hierarchical translation structures.
- Interpolation: Supporting variable replacement within translated strings.