Repository navigation
feat(i18n): add Portuguese (pt-PT) translation - #1146
Merged
Merged
Conversation
Add European Portuguese catalogs for the backend, comment UI, dashboard, and configuration template. Register the canonical pt-PT locale across generated options and documentation, and add coverage that prevents locale catalogs or localized config templates from missing keys.
qwqcode
force-pushed
the
feat/i18n-pt-PT
branch
from
October 28, 2026 15:02
7fefa78 to
25f4ebc
Compare
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add European Portuguese (
pt-PT) translations for the comment widget, dashboard, backend messages, and configuration template. Registerpt-PTin configuration options and both language guides, and export the frontend locale asartalk/i18n/pt-PT. The frontend locale bundle also registersptandpt-BRas aliases; usept-PTfor backend and dashboard configuration.The catalogs contain 96 widget messages, 90 dashboard messages, and 81 backend messages, using European Portuguese and the informal
tuform. The configuration template includes the current page-title fetching option with its secure default. Locale and configuration-template checks catch missing keys.Validation: full Go tests, all 185 frontend tests, widget and dashboard builds, locale lint/format checks, and message-placeholder checks passed. The built Portuguese bundle was verified through ESM, CommonJS, and browser-script loading, including frontend alias registration.