Skip to content

feat: Implement automated mobile i18n translation workflow#43

Draft
markrizkalla wants to merge 2 commits into
devfrom
feat/auto-localization
Draft

feat: Implement automated mobile i18n translation workflow#43
markrizkalla wants to merge 2 commits into
devfrom
feat/auto-localization

Conversation

@markrizkalla

Copy link
Copy Markdown
Contributor
  • Add translate.py script to automate Android string resource translations using Google Gemini/Gemma models, featuring placeholder preservation, markup validation, and batch processing.
  • Add .github/workflows/mobile-i18n-autofill-pr.yml to trigger the translation script on pushes to the dev branch, automatically creating pull requests for missing translations in Spanish, German, and Arabic.
  • Add mobile/MedAI/requirements.txt with google-genai dependency.
  • Configure the workflow to validate generated resources using Gradle (processDebugResources) before PR creation.

*   Add `translate.py` script to automate Android string resource translations using Google Gemini/Gemma models, featuring placeholder preservation, markup validation, and batch processing.
*   Add `.github/workflows/mobile-i18n-autofill-pr.yml` to trigger the translation script on pushes to the `dev` branch, automatically creating pull requests for missing translations in Spanish, German, and Arabic.
*   Add `mobile/MedAI/requirements.txt` with `google-genai` dependency.
*   Configure the workflow to validate generated resources using Gradle (`processDebugResources`) before PR creation.
* Remove "Show diff" step from `.github/workflows/mobile-i18n-autofill-pr.yml`.
@markrizkalla markrizkalla self-assigned this Jan 20, 2026
@markrizkalla
markrizkalla marked this pull request as draft January 28, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant