kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Wire desktop-app translation strings into Crowdin

Open rtibbles opened this issue 4 months ago • 1 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

#14970 wired the python_packages/* plugins into crowdin.yml but deferred the platforms/ tree. The desktop-app installer carries its own user-visible strings that never reach Crowdin. Wire them into the root crowdin.yml so they translate through the normal pipeline — no more borrowing from main Kolibri.

Complexity: Medium Target branch: develop

Context

  • crowdin.yml has zero platforms/ entries.
  • desktop-app has two i18n subsystems: the wxPython app (source platforms/desktop-app/src/kolibri_app/locales/en/LC_MESSAGES/wxapp.po) and the Inno Setup installer (source platforms/desktop-app/installer/translations/locale/en/messages.po).
  • Both English sources are generated by existing Makefile targets (translations-export-source, wxapp-extract-strings).
  • The desktop-app Makefile already has i18n-upload/i18n-download targets that call crowdin upload/download, but the standalone repo's crowdin.yml was never carried into the monorepo, so they're dead.
  • The two subsystems use inconsistent locale codes: wxapp folders use underscore codes (es_ES, pt_BR), the installer hyphenated codes (es-es, pt-br, zh-hans).
  • The root crowdin.yml language_mapping anchor targets underscore codes only.

Out of Scope

  • Android i18n — separate sub-issue; needs a borrow-vs-upload decision first.
  • raspberry-pi — no translatable strings.
  • debian-server debconf catalog — kolibri-server is deprecation-bound and not historically translated.

Acceptance Criteria

  • [ ] crowdin.yml has entries for the desktop-app wxapp.po and installer messages.po sources.
  • [ ] Uploaded strings and downloaded translations round-trip to the correct locale folders.
  • [ ] The wxapp (underscore) vs installer (hyphen) locale-code mismatch is resolved so both subsystems download to the right folders.
  • [ ] The desktop-app Makefile i18n-upload/i18n-download targets work against the root crowdin.yml, or are removed if the repo-wide Crowdin flow supersedes them.

AI usage

Claude Code mapped the platform i18n subsystems and confirmed the absence of platforms/ entries in crowdin.yml. I verified the desktop-app Makefile crowdin targets and edited the issue.

rtibbles avatar Jul 23 '26 20:07 rtibbles

The bot has been waiting for a response for 2 hour(s). It will resume automatically when someone replies.

rtibblesbot avatar Jul 24 '26 04:07 rtibblesbot