Multi-language translation support
Lack of translations (especially Spanish) is blocking adoption in some communities. Even simple terms like "Send and receive" create a cultural barrier that leads to rejection.
Bitcoin circular economy projects in Chile and Peru are waiting on Spanish translation to implement Alby Go & Hub in their local beach communities.
A possible implementation: Use expo-localization + i18n-js (Expo's standard approach): create a /locales folder with JSON files per language (en.json, es.json, etc.), extract hardcoded strings, and wrap text with t() function. The app auto-detects device language.
I'm willing to contribute to this implementation when the time is appropriate, As well as the initial Spanish translation, translations can be done very easily to all languages with LLMS anyway.
+1. Spanish and German would be nice.
Hi! I took a stab at this in https://github.com/getAlby/go/pull/464.
What it adds
- i18n infrastructure with
i18next+react-i18next+expo-localization(same stack as the Alby browser extension), every user-facing string moved tolocales/<code>/<area>.json; English stays byte-identical (verified pixel by pixel on an Android emulator). - Locale-aware number, sats-plural, fiat and date formatting plus a decimal keypad that follows the language (#305, #67, #301), and a Settings → Language screen (system default / English / Čeština).
- Native notification texts and the TTS language follow the app language (#327) via a config plugin that generates the Android/iOS resources from
locales/<code>/notifications.json. - Czech as the first additional language.
Adding another language (e.g. Spanish or German as mentioned above) only needs a new locales/<code>/ directory with a meta.json and the translated JSON files, then yarn i18n:generate && yarn i18n:check; no code changes. @NodeDiver if you still want to do the Spanish translation, the PR branch is ready for it.
It is one PR with separate commits (infrastructure/extraction, translation, language-agnostic layer); happy to split it into a series if that is easier to review, or to adjust the approach before you spend time on it. I could not build the iOS extension on Windows, so the iOS notification part needs an EAS/macOS check; details in the PR description.
I haven't seen this code for a long time. It's better someone more familiar with it now a days does it. Human translation are a thing of the past. You can do the spanish translation with AI. May I recomend you request a "neutral spanish" version to the llm, so that it feels familiar both for spain, north america and south america.