Skip to content

161 use json instead of popot files for translations#162

Merged
AlixANNERAUD merged 11 commits intomainfrom
161-use-json-instead-of-popot-files-for-translations
Feb 11, 2026
Merged

161 use json instead of popot files for translations#162
AlixANNERAUD merged 11 commits intomainfrom
161-use-json-instead-of-popot-files-for-translations

Conversation

@AlixANNERAUD
Copy link
Contributor

@AlixANNERAUD AlixANNERAUD commented Feb 11, 2026

This pull request migrates application localization files from the legacy .po/.pot format to modern .json files for both the settings and shell command line modules, and introduces improvements to formatting and CI configuration. The main changes include replacing .po/.pot translation files with equivalent .json files, updating formatting tasks to include JSON files, and making minor improvements to CI and documentation build scripts.

Localization migration and improvements:

  • Replaced all .po and .pot translation files for the settings module (executables/settings/locales/en/messages.po, executables/settings/locales/fr/messages.po, executables/settings/locales/messages.pot) with equivalent en.json and fr.json files using a flat key-value structure. This modernizes localization and simplifies translation workflows. [1] [2] [3] [4] [5]
  • Replaced the .po translation file for the shell command line module (executables/shell/command_line/locales/en/messages.po) with a new en.json translation file. [1] [2]

Formatting and build improvements:

  • Added a new format-json task to the Makefile.toml using Prettier to format all JSON files, and updated the main format task to include this step.
  • Updated the documentation build step in .github/workflows/deploy.yml to copy the full guest documentation directory, not just the guest subdirectory, improving the completeness of published docs.

Miscellaneous:

  • Fixed the case of the Cargo package ecosystem in .github/dependabot.yml to cargo for consistency and correctness.

@AlixANNERAUD AlixANNERAUD linked an issue Feb 11, 2026 that may be closed by this pull request
@AlixANNERAUD AlixANNERAUD merged commit 1d14bb5 into main Feb 11, 2026
1 check passed
@AlixANNERAUD AlixANNERAUD deleted the 161-use-json-instead-of-popot-files-for-translations branch February 11, 2026 22:20
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 51.51515% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
modules/internationalization/macros/src/lib.rs 51.51% 16 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

Use JSON instead of PO/POT files for translations

1 participant