Skip to content

Add crowdin.yml configuration file 🗺️#633

Merged
darcywong00 merged 1 commit intomasterfrom
feat/localize-keyboard/crowdin
Jan 14, 2026
Merged

Add crowdin.yml configuration file 🗺️#633
darcywong00 merged 1 commit intomasterfrom
feat/localize-keyboard/crowdin

Conversation

@darcywong00
Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 commented Jan 12, 2026

For #384

This adds a crowdin configuration file (supports Crowdin CLI 4.0+).
One limitation is when downloading translated strings, the escaped parameters (e.g. %1\$) get downloaded as %1\\$ so there's an extra step added to init-container.sh to fix the escaping.

The languages_mapping section uses canonical locales so de files in Crowdin don't get downloaded to de-DE.php

  - source: /_includes/locale/strings/keyboards/en.php
    dest: /keyboards/keyboards/en.php
    translation: /_includes/locale/strings/keyboards/%locale%.php
    languages_mapping:
      locale:
        # Canonical locales as needed
        es-ES: es
        de: de
        fr: fr
        km: km

Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Jan 12, 2026

User Test Results

Test specification and instructions

User tests are not required

@darcywong00 darcywong00 merged commit 736c42c into master Jan 14, 2026
6 checks passed
@darcywong00 darcywong00 deleted the feat/localize-keyboard/crowdin branch January 14, 2026 03:37
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants