Skip to content

Add Portuguese (Brazil) language support with automatic language detection #2249

Description

@jardeljsv

Feature Title

Add Portuguese (Brazil) language support with automatic language detection

Feature Description

I would like to request native support for Portuguese (Brazil) – pt-BR in OpenSign.

Currently, the project includes the following languages:

English
Spanish
French
Italian
German
Hindi
Korean

However, Portuguese (Brazil) is not currently available.

Requested improvement

Add a complete pt-BR translation and enable automatic language detection based on the user's browser/system language.

For example:

Browser language pt-BR → OpenSign automatically loads Portuguese (Brazil)
Browser language pt → OpenSign automatically loads Portuguese (Brazil)
Other supported languages → Load the corresponding language
Unsupported languages → Fall back to English

The current i18n implementation already uses i18next and i18next-browser-languagedetector, so this could potentially be implemented by:

Adding public/locales/pt-BR/translation.json (or pt/translation.json)
Keeping all existing translation keys unchanged
Translating only the values
Adding pt-BR to the supported language list
Adding Portuguese (Brazil) to the language selector
Configuring the language detector to automatically select Portuguese when the browser/system language is pt-BR or pt
Why this would be useful

OpenSign is an excellent open-source electronic signature platform, and Brazilian Portuguese would make it much more accessible to users and organizations in Brazil.

I would also be happy to contribute to the Portuguese (Brazil) translation if the project accepts community translations.

Thank you for considering this feature.

What type of feature are you requesting?

UI/UX Improvement

Importance

High

Additional Context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions