Skip to content

Conversation

@Frank1234
Copy link
Collaborator

Why is this important?

We see that 9/10 of our last projects uses PO editor. Hereby a kts script is added that:

  1. Downloads translation files from PoEditor API for Dutch (nl) and other specified languages.
  2. Processes the XML content:
    • Removes empty translation strings (Android falls back to base language)
    • Replaces dots with underscores in string names (Android compatibility)
    • Converts iOS-style parameters (%@) to Android format (%s)
    • Removes server-specific and iOS-specific strings
    • Cleans up formatting and comments
  3. Writes the translations to /core/ui/src/main/res/values[-xx]/strings.xml

@Frank1234 Frank1234 changed the base branch from develop to feature/color-parser-script October 15, 2025 14:34
Copy link
Collaborator

@Kr0sFyr3-Q42 Kr0sFyr3-Q42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! One small typo

Base automatically changed from feature/color-parser-script to develop October 29, 2025 13:24
@Frank1234 Frank1234 merged commit c563fb2 into develop Oct 29, 2025
3 checks passed
@Frank1234 Frank1234 deleted the feature/po-editor-script branch October 29, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants