Skip to content

chore(i18n): prepare audit script for localization#1223

Merged
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:i18n-audit-script
Aug 4, 2025
Merged

chore(i18n): prepare audit script for localization#1223
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:i18n-audit-script

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Aug 3, 2025

  • Mark translatable strings in the audit script. Also adjust wording of some messages for clarity and to aid translation,
    and relax linter rule so slightly overlong lines aren't flagged.
  • Add files/po directory and a localization.sh script that automatically runs msgfmt on .po files in that directory to install compiled .mo files to the appropriate system locale directories. To add translations, .po files can be added to a subdirectory with the appropriate language code.

HastD added 2 commits August 3, 2025 11:31
Also adjust wording of some messages for clarity and to aid translation,
and relax linter rule so slightly overlong lines aren't flagged.

Signed-off-by: Daniel Hast <[email protected]>
To add translations, .po files can be added to the files/po directory
in a subdirectory with the appropriate language code.
@HastD HastD requested a review from RoyalOughtness as a code owner August 3, 2025 17:23
@RoyalOughtness RoyalOughtness merged commit cb34183 into secureblue:live Aug 4, 2025
19 checks passed
@HastD HastD deleted the i18n-audit-script branch August 4, 2025 22:04
RoyalOughtness added a commit to RoyalOughtness/secureblue-dev that referenced this pull request Aug 4, 2025
* chore(i18n): mark translatable strings in audit script

Also adjust wording of some messages for clarity and to aid translation,
and relax linter rule so slightly overlong lines aren't flagged.

Signed-off-by: Daniel Hast <[email protected]>

* chore(i18n): add localization script, .po/.pot files

To add translations, .po files can be added to the files/po directory
in a subdirectory with the appropriate language code.

---------

Signed-off-by: Daniel Hast <[email protected]>
Co-authored-by: RoyalOughtness <[email protected]>
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