Skip to content

Add European Portuguese (pt-PT) translation - #240

Merged
javedh-dev merged 3 commits into
javedh-dev:devfrom
pdlourenco:feat/pt-pt-translation
Aug 22, 2026
Merged

Add European Portuguese (pt-PT) translation#240
javedh-dev merged 3 commits into
javedh-dev:devfrom
pdlourenco:feat/pt-pt-translation

Conversation

@pdlourenco

Copy link
Copy Markdown

Summary

Adds a complete European Portuguese (pt-PT) localisation, following the process in docs/i18n.md and the pattern of previous language PRs (#145 Italian, #157 Hungarian, #181 Finnish, #206 German).

  • messages/pt-PT.json — all 707 messages translated into European Portuguese (pt-PT specifically — gasóleo, GPL, matrícula, palavra-passe, ficheiro, definições…), reviewed by a native speaker
  • project.inlang/settings.jsonpt-PT registered in locales and languageTags
  • SettingsModal.svelte — adds the Português (Portugal) label to the locale dropdown, and also adds the previously missing Finnish label (Suomi, currently rendered as "FI")

Validation

  • Key set and key order identical to messages/en.json (707/707)
  • Every {placeholder} preserved verbatim (checked programmatically)
  • pnpm build passes; the compiled Paraglide runtime includes pt-PT with the translated variants
  • pnpm lint clean on the changed files

Notes

  • Sentence case is used for labels/buttons per pt-PT UI conventions (Portuguese capitalises far less than English)
  • Terms were kept country-neutral (e.g. "certificado de emissões", "centro de inspeção") rather than Portugal-specific regulatory names
  • While the first draft of the translation was generated by Claude, I (human) reviewed it manually and also with Claude Fable.

@pdlourenco
pdlourenco force-pushed the feat/pt-pt-translation branch from cdbe22d to db62562 Compare August 11, 2026 22:19
@pdlourenco

Copy link
Copy Markdown
Author

Note: after rebasing onto current dev (the i18n restructure and the new
Compliance/vehicle-hub/reports features), 214 new strings were added to the
translation beyond the ~600 that were already native-reviewed. I'm reviewing
those new strings now — converting to draft until that's done, should be ready
within a few days. The rest of the file is final.

@pdlourenco

Copy link
Copy Markdown
Author

Reviewed the new additions and corrected the translation.
Should be ready to merge.

claude added 3 commits August 14, 2026 20:09
- Add i18n/messages/pt-PT.json with all 811 messages translated,
  reviewed by a native speaker
- Register pt-PT in the inlang project locales
- Add 'Português (Portugal)' label to the locale dropdown

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YXazaegVWZdeKziwMzPKPG
- 'revisão' terminology for scheduled services; 'Histórico de
  manutenção' for the history tab
- 'Abastecimento registado' for the fuel activity entry
- Compliance feature hint/description harmonized with 'registo do
  veículo' phrasing
- 'Distribuição de despesas' for the breakdown chart
- Vehicle type 'rulote', reworded reminders page description, minor
  wording fixes

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YXazaegVWZdeKziwMzPKPG
- reminder_page_description: describe the scheduled events that actually
  exist in Portugal (revisão, inspeção, seguro, imposto de circulação)
  instead of "emissões"/"impostos"
- auth_login_title: gender-inclusive "Bem-vindo(a) de volta"
- maintenance_also_upcoming: "Em breve"

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pTw3AsFM2b5TYHERhZe34
@javedh-dev
javedh-dev merged commit c54ac97 into javedh-dev:dev Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants