Kapow

View the Project on GitHub sanchezpaco/kapow

Internationalization

The app UI is bilingual: Spanish and English. Everything else in the repository (code, docs, commits) is English only.

Rule

No user-facing string is ever hardcoded. Every string lives in strings.xml and is referenced via stringResource(...). Adding a string means adding it to both locales in the same change.

Resource layout

res/
├── values/        strings.xml   ← default, English
└── values-es/     strings.xml   ← Spanish

Conventions

Checklist when adding UI text

  1. Add the key to values/strings.xml (English).
  2. Add the same key to values-es/strings.xml (Spanish).
  3. Reference it with stringResource(R.string.key) — no literals in composables.