Skip to content

Implementation of the Portuguese (Brazil) Language#222

Closed
vedned wants to merge 1 commit into
FirestormViewer:masterfrom
vedned:lang=pt-BR
Closed

Implementation of the Portuguese (Brazil) Language#222
vedned wants to merge 1 commit into
FirestormViewer:masterfrom
vedned:lang=pt-BR

Conversation

@vedned
Copy link
Copy Markdown

@vedned vedned commented May 1, 2026

Summary

This pull request introduces comprehensive Brazilian Portuguese (pt-BR) localization support for Firestorm Viewer, significantly expanding the availability and consistency of translated interface content throughout the viewer.

The goal of this contribution is to improve accessibility, usability and overall user experience for Brazilian Portuguese-speaking users by providing broader language coverage and more natural interface terminology.

Scope of Changes

Localization and Translation

  • Added extensive Brazilian Portuguese (pt-BR) translations across multiple viewer components

  • Localized interface elements including:

    • Menus
    • Buttons
    • Tooltips
    • Notifications
    • Dialogs
    • Preferences panels
    • System messages
    • UI labels and descriptions

Language Resource Updates

  • Added and updated pt-BR localization resource files
  • Expanded translation coverage in previously untranslated or partially translated sections
  • Improved consistency of terminology and phrasing across the viewer interface
  • Standardized translations to better align with native Brazilian Portuguese usage

Translation Adaptation

Many strings were adapted contextually instead of translated literally in order to:

  • Improve readability
  • Preserve UI clarity
  • Maintain consistency with viewer terminology
  • Provide a more natural experience for Brazilian users

Objectives

This contribution aims to:

  • Improve accessibility for Portuguese-speaking users
  • Reduce untranslated interface content
  • Provide a more polished and complete localization experience
  • Improve language consistency across different viewer modules
  • Enhance usability for the Brazilian Second Life community

Testing

The localization was reviewed and tested in multiple areas of the viewer to verify:

  • Proper loading of pt-BR localization resources
  • Correct display of translated UI elements
  • Consistency of translated terminology
  • General interface readability and usability

Additional Notes

  • This pull request is focused exclusively on localization and language resources
  • No intentional viewer functionality or logic changes were introduced
  • Existing functionality and workflows should remain unaffected

@PanteraPolnocy PanteraPolnocy self-requested a review May 7, 2026 11:10
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
<integer>1</integer>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can already tell you, that this change is a "no". It's for internal testing only. Needs to stay at 0 by default. Sorry.

{LANG_PUNJABI, "pa"},
{LANG_POLISH, "pl"},
{LANG_PORTUGUESE, "pt"},
{LANG_PORTUGUESE, "pt_BR"},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I'd prefer not to start a cultural war between nations... why it's a Brazilian Portuguese, and nor a "regular" one? They seems to be clearly different: https://www.argotranslation.com/blog/what-is-the-difference-between-portuguese

Comment thread indra/llui/lltrans.cpp
}
}
else if (language == "fr" || language == "pt") // French, Brazilian Portuguese
else if (language == "fr" || language == "pt_BR") // French, Brazilian Portuguese
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this one. If anything...

(language == "fr" || language == "pt" || language == "pt_BR")

... would be better, just in case.

@PanteraPolnocy
Copy link
Copy Markdown
Member

PanteraPolnocy commented May 7, 2026

Yeah, no, this is not going to fly in the current form. Removal of the whole /pt/ folder and replacing it with /pt_BR/ ersases all possible file diff history, and complicates upstream merges/fixes coming from the Lab. Please work within the /pt/ folders structure. Please also remember, that https://wiki.secondlife.com/wiki/LlGetAgentLanguage expects "pt", not "pt_BR" - which is defined as "Portugués (Portuguese)".

std::string translate_language = gSavedSettings.getString("TranslateLanguage");
if (translate_language == "pt")
{
translate_language = "pt_BR";
Copy link
Copy Markdown
Member

@PanteraPolnocy PanteraPolnocy May 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, a gentle question - why swapping PE with PB? As noted in https://wiki.firestormviewer.org/fs_translation :

"At the moment, we are not accepting entirely new UI translations. Our focus is on maintaining and enhancing existing language support (...)"

@vedned vedned closed this May 8, 2026
@vedned vedned deleted the lang=pt-BR branch May 8, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants