Skip to content

Add Brazilian Portuguese (pt_BR) translations - #58

Closed
andrefelipeufcg wants to merge 2 commits into
pluginsGLPI:mainfrom
andrefelipeufcg:add-brazilian-portuguese-and-glpi-compatibility
Closed

andrefelipeufcg wants to merge 2 commits into
pluginsGLPI:mainfrom
andrefelipeufcg:add-brazilian-portuguese-and-glpi-compatibility

Conversation

@andrefelipeufcg

@andrefelipeufcg andrefelipeufcg commented Sep 29, 2026 •

Copy link
Copy Markdown

Summary

  • Add the Brazilian Portuguese translation catalog for the advancedforms plugin.
  • Include reservation, validation, table, notification, pre-reservation, and calendar availability messages.
  • Pass the translated reservation placeholder from Twig to JavaScript while preserving the internationalized fallback.

Files changed

  • locales/pt_BR.po / locales/pt_BR.mo - new translation catalog
  • templates/reservation_question.html.twig - pass translated placeholder via data attribute
  • public/js/modules/ReservationQuestionWidget.js - use the data attribute placeholder with i18n fallback

Validation

  • PHP syntax checks pass for all modified PHP files.
  • The pt_BR.mo catalog was compiled from pt_BR.po.

Closes #59

@andrefelipeufcg
andrefelipeufcg force-pushed the add-brazilian-portuguese-and-glpi-compatibility branch from f3ffc29 to 30197d8 Compare October 20, 2026 01:36
@andrefelipeufcg andrefelipeufcg changed the title Add Brazilian Portuguese translations and GLPI 11 compatibility Add Brazilian Portuguese (pt_BR) translations Oct 20, 2026
@andrefelipeufcg

Copy link
Copy Markdown
Author

Superseded by #71 (pt_BR translation only), opened from a dedicated branch.

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.

Add Brazilian Portuguese translation

2 participants