Skip to content

feat(i18n): add Brazilian Portuguese (pt-br) and Spanish (es) locales - #2

Merged
Github-Samuel merged 1 commit into
Samuels-Development:mainfrom
mri-Qbox-Brasil:i18n-pt-br-es
Oct 22, 2026
Merged

Github-Samuel merged 1 commit into
Samuels-Development:mainfrom
mri-Qbox-Brasil:i18n-pt-br-es

Conversation

@mur4i

@mur4i mur4i commented Oct 21, 2026 •

Copy link
Copy Markdown

Adds two complete translations of locales/en.json:

  • locales/pt-br.json: Brazilian Portuguese
  • locales/es.json: Spanish (neutral, Latin American)

Both files have every key of the current en.json in the same order, and every %s / %d / %% placeholder matches the English string, so nothing falls back to English. They are picked with Locale = 'pt-br' or Locale = 'es' in configs/config.lua; the default stays en.

Product names (Phone Link, Squawk, Weazel News, Marketplace) and command names in the Command Prompt (HACK, BREACH, TARGETS...) are kept as they are.

Loaded on a Qbox server with Locale = 'pt-br'; both files validated against en.json (keys and placeholders).

@Github-Samuel
Github-Samuel merged commit a065401 into Samuels-Development:main Oct 22, 2026
1 check passed
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.

2 participants