alepha@docs:~/docs/packages/alepha/react$
cat i18n.md1 min read
Last commit:
#Alepha - React I18n
#Installation
Part of the alepha package. Import from alepha/react/i18n.
npm install alepha
#Overview
Multi-language support.
Features:
- Translation loading
- Locale detection
- Pluralization
#API Reference
#Primitives
$dictionary— Register a dictionary entry for translations.
#React Hooks
useI18n— Hook to access the i18n service.