Skip to content

feat(localization): add Brazilian Portuguese admin panel translation - #1496

Merged
sven-n merged 2 commits into
MUnique:masterfrom
israelcena:feat/pt-br-admin-panel-translation
Nov 12, 2026
Merged

sven-n merged 2 commits into
MUnique:masterfrom
israelcena:feat/pt-br-admin-panel-translation

Conversation

@israelcena

Copy link
Copy Markdown
Contributor

Summary

Adds Brazilian Portuguese (pt-BR) resources for the admin panel, the shared web
components and the map editor. They mirror the neutral (English) resources
one-to-one, the same way the existing de and zh-CN files do.

File Keys
src/Web/AdminPanel/Properties/Resources.pt-BR.resx 917
src/Web/Shared/Properties/Resources.pt-BR.resx 189
src/Web/Map/Properties/Resources.pt-BR.resx 33

CultureHelper.GetAvailableCultures discovers the new satellite assemblies
automatically, so Português (Brasil) shows up in the language selector without
any code change.

Notes

  • Every placeholder ({0}, {1:N0}, …) and inline HTML fragment is preserved. I
    checked that the set of placeholders is identical to the neutral resources for
    all keys.
  • The text was produced with a machine translation pass and then reviewed for
    MU-specific terminology (Castle Siege, Blood Castle, Chaos Castle, Connect
    Server, …), which is why some terms intentionally stay in English.
  • No code changes.

Testing

  • Built src/Startup/Dockerfile including the new files; the application starts
    and the language selector lists Português (Brasil).
  • After selecting it, the admin panel renders in Portuguese.

Adds pt-BR satellite resources for the admin panel, the shared web
components and the map editor, following the existing de and zh-CN
resource files.

All keys of the neutral resources are translated (917 + 189 + 33).
Placeholders like {0} and inline HTML are preserved, so the strings
render the same as in the other languages.

The culture is discovered automatically by
CultureHelper.GetAvailableCultures, so "Português (Brasil)" shows up in
the language selector without further changes.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sven-n
sven-n merged commit 227e03a into MUnique:master Nov 12, 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