alepha@docs:~/framework/docs/packages/alepha/react$
cat i18n.md | pretty1 min read
Last commit: Nov 10, 2026
#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, and the writing direction (
<html dir>) of the language - Interpolation, positional (
$1,$2) or named ({name}), and localized dates/numbers - Plurals and select: a variant entry chosen by
countthroughIntl.PluralRules, or byselect
#API Reference
#Primitives
$dictionary- Register a dictionary entry for translations.
#React Hooks
useI18n- Hook to access the i18n service.