Internationalization
Learn how we manage internationalization in TurboStarter AI.
TurboStarter AI builds on the core internationalization (i18n) setup from the main TurboStarter framework. The shared @turbostarter/i18n
package in packages/i18n
handles translation management across platforms.
This gives you the benefit of a proven system using i18next for managing translations on both web and mobile apps. Plus, the AI models and LLMs integrated within TurboStarter AI generally support multiple languages, enabling interactions beyond what's covered by UI translations alone.
For detailed information on configuring languages, adding translations, or using the useTranslation
hook, check out the core documentation:
Web internationalization
Learn about i18n setup for the Next.js web app.
Mobile internationalization
Learn about i18n setup for the React Native (Expo) mobile app.
AI-specific translations
While most translations are shared across the platform, TurboStarter AI introduces a dedicated ai
namespace within translation files. This namespace contains strings specifically for AI features, demo applications, and UI elements unique to the AI starter kit.
When adding translations for new AI features or modifying existing ones, place them within the ai
namespace in the appropriate language files (e.g., en/ai.json
, es/ai.json
). This keeps AI-related text organized and separate from core application translations.
How is this guide?
Last updated on