For the complete documentation index, see llms.txt. Prefer markdown by appending.mdto documentation URLs or sendingAccept: text/markdown.
Internationalization
Ships with English by default and an i18next-based ai namespace for feature strings; extend by adding translation files and extra locales to the config.
TurboStarter AI builds on the core internationalization (i18n) setup from the main TurboStarter framework. The shared @workspace/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.
By default, the AI kit ships with English (en) enabled. You can add more locales by extending the i18n config and providing matching translation files.
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.
The i18n package ships with multiple namespaces (for example common, ai, and validation) and loads translations from packages/i18n/src/translations.
{
"chat": {
"title": "AI Chatbot",
"description": "Engage in intelligent conversations."
},
"image": {
"title": "Image Generation",
"description": "Create stunning visuals with AI."
}
// ... other AI-specific translations
}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
Database
PostgreSQL with Drizzle ORM stores chat history, vector embeddings for RAG, AI-generated images, and per-user credits in feature-isolated pg schemas.
UI
Shared UI packages across web and mobile deliver chat interfaces, image galleries, and generative UI elements driven by AI SDK structured output.