Skip to content

Add Brazilian Portuguese (pt-BR) localization - #962

Merged
o-sdn-o merged 5 commits into
directvt:masterfrom
ericklucioh:language-pt-br-setup
Jul 22, 2026
Merged

Add Brazilian Portuguese (pt-BR) localization#962
o-sdn-o merged 5 commits into
directvt:masterfrom
ericklucioh:language-pt-br-setup

Conversation

@ericklucioh

Copy link
Copy Markdown
Contributor

Summary

  • Add Brazilian Portuguese (pt-BR) localization.
  • Translate vtm menus, tooltips, status messages, keyboard modes, and interface labels.
  • Preserve English (en-US) as the fallback language.
  • Preserve existing placeholders, ANSI escape sequences, field names, and configuration structure.

This implements the contribution proposed in #960.

Validation

  • Confirmed that pt-BR contains the same 123 localization fields as en-US.
  • Verified that placeholders and configuration references are preserved.
  • Ran git diff --check.
  • Kept the change limited to src/vtm.xml.

Closes #960

@o-sdn-o

o-sdn-o commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

The tooltip formatting is a bit off. In vtm, it's done using spaces. You need to add spaces to create a neat tooltip rectangle.

image

@o-sdn-o

o-sdn-o commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

The formatting here is a bit off:

image

@ericklucioh

Copy link
Copy Markdown
Contributor Author

Hello.

I fixed the spaces

@o-sdn-o

o-sdn-o commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

It will compile now, I'll take a look.

@o-sdn-o

o-sdn-o commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

I'll merge it as is, but then I'll polish it up a bit; there are some bugs there (but you can fix them yourself if you want). I really need to automate tooltip formatting (formatting with spaces is a relic of the past here).

image

@o-sdn-o

o-sdn-o commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Great! Let's merge this PR. Thank you so much!

@o-sdn-o
o-sdn-o merged commit 40624cb into directvt:master Jul 22, 2026
9 checks passed
o-sdn-o added a commit to o-sdn-o/vtm that referenced this pull request Jul 22, 2026
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.

Proposal: Add Brazilian Portuguese (pt-BR) localization

2 participants