Skip to content

In-app translations support#594

Merged
sameerasw merged 14 commits into
developfrom
translations
Jul 22, 2026
Merged

In-app translations support#594
sameerasw merged 14 commits into
developfrom
translations

Conversation

@sameerasw

Copy link
Copy Markdown
Owner

This pull request introduces a comprehensive in-app translation contribution workflow, allowing users to translate app strings, manage translation sessions, and submit or update translation pull requests directly from the app. The changes span the GitHub Actions workflow, ProGuard rules, and the main app UI and logic, with a focus on translation mode and GitHub integration.

Translation Contribution Workflow & UI:

  • Added a new "Translations" section in the settings UI, including GitHub authentication, translation mode toggle, session management, and open PR tracking (SettingsActivity.kt). [1] [2] [3]
  • Translation mode now displays a badge in the main UI when active, improving user feedback (MainActivity.kt).

GitHub Integration:

  • Implemented a method in GitHubRepository to fetch open translation pull requests for the current user, enabling the app to display and link to existing PRs (GitHubRepository.kt).

Workflow Improvements:

  • Updated the GitHub Actions workflow for applying translations:
    • Supports authenticated pushes using a user OAuth token.
    • Replaces shell scripting with Python for robust XML editing.
    • Handles updating existing PRs instead of always creating new ones.
    • Switches PR base branch to develop and includes assignee/reviewer fields (.github/workflows/apply-translations.yml). [1] [2]

Settings & State Management:

  • Added persistent suppression for the translation mode warning dialog in SettingsRepository (SettingsRepository.kt).

Build & Dependency Updates:

  • Added ProGuard/R8 rules for SLF4J logging and cleaned up unused comments, ensuring compatibility and smaller APKs (proguard-rules.pro). [1] [2]

These changes collectively enable a seamless, user-friendly translation contribution process, integrated with GitHub, and improve both developer and contributor experience.

sameerasw added 14 commits July 22, 2026 15:39
… UI components for improved localization support
…standardize long-press interaction across UI cards
@sameerasw sameerasw self-assigned this Jul 22, 2026
@sameerasw sameerasw added the enhancement New feature or request label Jul 22, 2026
@sameerasw
sameerasw merged commit a026ec1 into develop Jul 22, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Essentials Progress Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant