Upload Android UI strings to Crowdin and retire the borrow-from-Kolibri mechanism
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
The Android installer localizes its UI by matching English text against Kolibri's translations at build time (scripts/create_strings.py); android-unique strings match nothing and silently ship in English. Instead, upload Android's own UI strings to Crowdin and translate them the normal way, retiring the borrow mechanism.
Complexity: Medium Target branch: develop
Context
platforms/android/scripts/create_strings.pyruns at build time (GenerateKolibriStringsTaskinapp/build.gradle): for each supported language it looks up the Kolibri translation of each English source phrase and writesvalues-<code>/strings.xml.- Strings with no verbatim match in Kolibri are dropped → English at runtime.
- Android UI strings live in
app/src/main/res/values/strings.xml(app_name/task_worker_processaretranslatable="false"). - Localized
values-*/dirs are currently generated and gitignored. - Android uses the Android XML resource format, which Crowdin supports via a different scheme than the CSV/PO used for
python_packagesand desktop-app.
The Change
Wire values/strings.xml into the root crowdin.yml using Crowdin's Android-resource scheme, with downloaded translations landing in values-<code>/strings.xml.
Acceptance Criteria
- [ ] All translatable Android UI strings (
values/strings.xmlminustranslatable="false") upload to Crowdin. - [ ] Downloaded translations land in
values-<code>/strings.xml, correctly encoded for Android XML. - [ ] The
create_strings.pyborrow-from-Kolibri path is removed. - [ ] No Android UI string ships English-only where a translation exists.
AI usage
Claude Code traced create_strings.py and identified the android-unique strings dropped to English. I set the direction and edited the issue.
Watching for resolution on behalf of learningequality/kolibri#15075.
Plan: Localize the Android installer UI by uploading its own strings to Crowdin and downloading translations into values-<code>/strings.xml, retiring the build-time "borrow from Kolibri's translations" mechanism.
- [ ] Android locale-code mapping generator
- [ ] Wire Android strings into
crowdin.yml - [ ] Remove the borrow-from-Kolibri mechanism
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
- Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
- Ran the project's full test suite and linter before committing
- For UI changes: captured live screenshots to verify rendering
- For backend changes: verified with example API/CLI output
The bot has been waiting for a response for 2 hour(s). It will resume automatically when someone replies.