Skip to content

Add French, Italian, Polish translations and improve Urdu#3667

Merged
aterga merged 9 commits intomainfrom
sea-snake/add-more-translations
Mar 13, 2026
Merged

Add French, Italian, Polish translations and improve Urdu#3667
aterga merged 9 commits intomainfrom
sea-snake/add-more-translations

Conversation

@sea-snake
Copy link
Contributor

@sea-snake sea-snake commented Mar 11, 2026

Add French, Italian, Polish translations and improve Urdu.

Changes

  • Add French, Italian and Polish translations
  • Improve Urdu translations
  • Enable all locales
  • Update translation script:
    • Switch back gemini-cli with older model due to higher limits (sufficient for bulk translations)
    • Update system prompt to more explicitly guide plural translation behavior
    • Limit untranslated label prompt input to 100 (re-run multiple times to translate more)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new Lingui .po catalogs for French, Italian, and Polish, and updates the translation automation script to use Gemini CLI for bulk-filling missing msgstr entries.

Changes:

  • Added fr.po, it.po, and pl.po translation catalogs.
  • Extended availableLocales to include fr, it, and pl.
  • Updated scripts/update-translations to translate via @google/gemini-cli, adjust plural guidance, and cap untranslated input to 100 entries per run.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/frontend/src/lib/locales/pl.po New Polish translation catalog (currently missing required header plural rule).
src/frontend/src/lib/locales/it.po New Italian translation catalog (currently missing required header plural rule).
src/frontend/src/lib/locales/fr.po New French translation catalog.
src/frontend/src/lib/constants/locale.constants.ts Adds fr, it, pl to availableLocales.
scripts/update-translations Switches translation automation from GitHub Models API to Gemini CLI and limits untranslated batch size.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sea-snake and others added 3 commits March 11, 2026 19:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Updated Italian translations for various strings to improve clarity and consistency.
Copy link

@AntonioVentilii AntonioVentilii left a comment

Choose a reason for hiding this comment

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

Some suggestions:

@aterga aterga requested review from nmattia March 12, 2026 16:30
@sea-snake sea-snake changed the title Add French, Italian and Polish translations Add French, Italian, Polish translations and improve Urdu Mar 13, 2026
@aterga aterga added this pull request to the merge queue Mar 13, 2026
Merged via the queue into main with commit 93dc868 Mar 13, 2026
63 checks passed
@aterga aterga deleted the sea-snake/add-more-translations branch March 13, 2026 12:14
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.

6 participants