Deprecated version documentation
This documentation refers to a previous version of Palmr. It may contain more complex configurations and bugs that have already been fixed.
View latest documentation (v3.0-beta)๐ Available languages
The project leverages next-intl, a powerful and flexible internationalization (i18n) library, to provide comprehensive language support across the entire application. This robust solution enables seamless translation management, date/time formatting, number formatting, and pluralization rules across different locales. The integration of next-intl ensures consistent internationalization throughout the application's components, pages, and features, while maintaining optimal performance through efficient bundle splitting and lazy loading of language resources. With its TypeScript support and React Server Components compatibility, next-intl serves as the foundation for delivering a truly global and accessible user experience.
๐ฃ๏ธ Available Languages in Palmr.
Language | Code | Description | Translation |
---|---|---|---|
๐บ๐ธ English | en-US | Primary development language and default fallback option | 100% |
๐ง๐ท Portuguese | pt-BR | Standard Brazilian Portuguese support | 100% |
๐ซ๐ท French | fr-FR | Standard French language support | 100% |
๐ช๐ธ Spanish | es-ES | Standard Spanish language support | 100% |
๐ฉ๐ช German | de-DE | Standard German language support | 100% |
๐ท๐บ Russian | ru-RU | Standard Russian language support | 100% |
๐ฎ๐ณ Hindi | hi-IN | Standard Hindi language support | 100% |
๐ธ๐ฆ Arabic | ar-SA | Standard Arabic language support with RTL | 100% |
๐ฏ๐ต Japanese | ja-JP | Standard Japanese language support | 100% |
๐ฐ๐ท Korean | ko-KR | Standard Korean language support | 100% |
๐น๐ท Turkish | tr-TR | Standard Turkish language support | 100% |
๐จ๐ณ Chinese | zh-CN | Standard Simplified Chinese support | 100% |
๐ Language Selection
The application provides two convenient methods for language selection, ensuring a seamless user experience:
๐ค 1. Automatic Detection
- The application features sophisticated automatic detection of the user's preferred browser language settings
- Intelligently utilizes the browser's preconfigured language preferences to set the initial application language
๐ 2. Manual Selection
- Users have complete control to manually select their preferred language through an intuitive language selector interface in the UI
- Selected language preferences are persistently stored in the browser's localStorage for a consistent experience across sessions
โญ Default Language
English (en-US) serves as the system's fallback language, ensuring consistent functionality even when language detection or selection encounters issues. This means that if a user's preferred language is not available or if there are any problems with language selection, the application will automatically default to English. This fallback mechanism is crucial for maintaining a seamless user experience and preventing any potential language-related disruptions. Additionally, all new features and updates are first implemented in English before being translated into other supported languages, ensuring that the English version always remains the most up-to-date and comprehensive.
๐ Language Detection
The application employs advanced detection mechanisms to automatically identify and apply the user's browser language settings as the initial language configuration. For maximum flexibility, users can easily override this selection at any time using the convenient language switcher, accessible via the globe icon prominently displayed in the navigation bar.
โ๏ธ RTL Support
The application incorporates comprehensive right-to-left (RTL) text handling capabilities, with particular attention paid to Arabic (ar-SA) language requirements, ensuring proper text alignment, layout direction, and user interface elements.