The application has been set up for internationalization (i18n) using react-i18next.
- ✅ i18n infrastructure installed and configured
- ✅ Translation files created for: English (en), Spanish (es), French (fr), German (de), Portuguese (pt), Italian (it)
- ✅ Components partially updated to use translations
- ✅ Language detection from browser settings
⚠️ Updating all components to use translation keys⚠️ Adding translations for remaining languages
All translation files are located in src/i18n/locales/.
Current translation files:
en.json- English (complete)es.json- Spanish (complete)fr.json- French (complete)de.json- German (complete)pt.json- Portuguese (complete)it.json- Italian (complete)- Additional language files created as placeholders
To add translations for additional languages:
- Copy
en.jsonto a new file (e.g.,nl.jsonfor Dutch) - Translate all the values (keep the keys the same)
- Import and add to
src/i18n/config.jsin theresourcesobject
app.title
app.footer.poweredBy
app.footer.githubRepo
tabs.lookup
tabs.search
tabs.browse
searchForm.*
bibleSelector.*
passageDisplay.*
searchResults.*
browse.*
errors.*
loading.*
cookieConsent.*
- The app will automatically detect the user's browser language
- Falls back to English if a translation is missing
- Language preference is stored in localStorage
- More language translations can be added incrementally