Skip to content

feat(i18n): add Portuguese (pt-PT) translation - #1146

Merged
qwqcode merged 1 commit into
ArtalkJS:masterfrom
tutods:feat/i18n-pt-PT
Oct 28, 2026
Merged

qwqcode merged 1 commit into
ArtalkJS:masterfrom
tutods:feat/i18n-pt-PT

Conversation

@tutods

@tutods tutods commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Add European Portuguese (pt-PT) translations for the comment widget, dashboard, backend messages, and configuration template. Register pt-PT in configuration options and both language guides, and export the frontend locale as artalk/i18n/pt-PT. The frontend locale bundle also registers pt and pt-BR as aliases; use pt-PT for backend and dashboard configuration.

The catalogs contain 96 widget messages, 90 dashboard messages, and 81 backend messages, using European Portuguese and the informal tu form. 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.

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
qwqcode merged commit 3e46d83 into ArtalkJS:master Oct 28, 2026
12 checks passed
@qwqcode

qwqcode commented Oct 28, 2026

Copy link
Copy Markdown
Member

Thanks!

@tutods
tutods deleted the feat/i18n-pt-PT branch November 3, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants