Repository navigation
feat(localization): add Brazilian Portuguese admin panel translation - #1496
Merged
sven-n merged 2 commits intoNov 12, 2026
Merged
Conversation
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.
Up to standards ✅🟢 Issues
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Brazilian Portuguese (
pt-BR) resources for the admin panel, the shared webcomponents and the map editor. They mirror the neutral (English) resources
one-to-one, the same way the existing
deandzh-CNfiles do.src/Web/AdminPanel/Properties/Resources.pt-BR.resxsrc/Web/Shared/Properties/Resources.pt-BR.resxsrc/Web/Map/Properties/Resources.pt-BR.resxCultureHelper.GetAvailableCulturesdiscovers the new satellite assembliesautomatically, so Português (Brasil) shows up in the language selector without
any code change.
Notes
{0},{1:N0}, …) and inline HTML fragment is preserved. Ichecked that the set of placeholders is identical to the neutral resources for
all keys.
MU-specific terminology (Castle Siege, Blood Castle, Chaos Castle, Connect
Server, …), which is why some terms intentionally stay in English.
Testing
src/Startup/Dockerfileincluding the new files; the application startsand the language selector lists
Português (Brasil).