Connect i18next to your Goodspeed app
Locale detection and JSON translation files generated per locale. lib/i18n.ts wires i18next with expo-localization for automatic language switching. Goodspeed wires i18next into every app that needs it at generation time, so you start with a working integration, not a blank config and a documentation tab.
WHAT GETS WIRED IN
Built into every i18next build
Every app Goodspeed generates with i18next includes these wired integrations from the first build. No manual setup required.
| Item | Description | Strength |
|---|---|---|
| Device language detected | The preferred language is read from the device and matched against the locales declared in gas.config.ts. | Interface |
| Unknown locales fall back | An unrecognised language uses the declared default rather than crashing. | Reliability |
| One file per locale | en.json and a file for each declared locale are generated with matching key sets. | Interface |
| Skipped when unused | A single-locale app never starts the library at all, so it carries none of the weight. | Setup |
| Gaps fail the build | A workflow compares every locale against en.json on pull requests, so a missing translation never reaches anyone. | Reliability |
Source: the Goodspeed app foundation · i18n
REAL GENERATED CODE
A snippet from a i18next integration the pipeline ships
This pattern is lifted from the engineered plumbing that ships inside every Goodspeed app. The studio generates i18next integration code like this for every app that includes it, not a placeholder you have to fill in yourself.
Locale detection
// lib/i18n.ts function getDeviceLocale(): string { try { const locales = getLocales(); const deviceLang = locales[0]?.languageCode ?? i18nConfig.defaultLocale; if (i18nConfig.locales.includes(deviceLang)) { return deviceLang; } return i18nConfig.defaultLocale; } catch { return i18nConfig.defaultLocale; } }
Today's log
APPS THAT USE I18NEXT
Where this integration ships
These app types include i18next as part of the generated stack. Each link goes to a full spec page with capabilities, scored ideas, and a pipeline walkthrough.
- Build a social appBuilding a social app from scratch means solving hard infrastructure problems: real-time feeds, fan-out writes, notification delivery, and content moderation hooks. Goodspeed generates a complete sociSOCIAL APP
- Build a productivity appProductivity apps succeed when they remove friction from the moment the user decides to work. Goodspeed generates a productivity app with Pomodoro timer, focused task queue, distraction blocker hooks,PRODUCTIVITY APP