Skip to content

fix(i18n): replace HTML entities with UTF-8 characters in Italian locale#1143

Merged
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/issue_896
Mar 14, 2026
Merged

fix(i18n): replace HTML entities with UTF-8 characters in Italian locale#1143
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/issue_896

Conversation

@JohnVillalovos
Copy link
Collaborator

Replace HTML-encoded characters (e.g. è, à, ') with their native UTF-8 equivalents (è, à, ') in the Italian translation files. Affects lang/it_it.php and all 17 email templates in lang/it_it/.

Closes: #896

Copilot AI review requested due to automatic review settings March 14, 2026 22:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Italian locale to use native UTF-8 characters instead of HTML entities, improving rendering of accented characters in the UI and in Italian email templates (issue #896).

Changes:

  • Replaced HTML entities (e.g., è, à, ') with UTF-8 characters across Italian email templates.
  • Updated many Italian UI strings in lang/it_it.php to use UTF-8 characters (including weekday names).

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
lang/it_it/StartReminderEmail.tpl Converts ' to ' in the start reminder email text.
lang/it_it/ResourceStatusChanged.tpl Converts Italian accented entities (e.g., è, à) to UTF-8 in email content.
lang/it_it/ResetPassword.tpl Converts entities to UTF-8 in reset-password email content.
lang/it_it/ReservationSeriesEnding.tpl Converts à to à in series-ending email content.
lang/it_it/ReservationParticipationActivity.tpl Converts '/è to UTF-8 characters in participation activity email content.
lang/it_it/ReservationInvitation.tpl Converts approval and response text entities to UTF-8 (including “Sì”).
lang/it_it/ReservationDeleted.tpl Converts è to è in deletion email content.
lang/it_it/ReservationCreatedAdmin.tpl Converts entities to UTF-8 (including “È”, “verrà”, apostrophes) in admin-created email content.
lang/it_it/ReservationCreated.tpl Converts entities to UTF-8 in reservation created email content.
lang/it_it/ReservationAvailable.tpl Converts è to è in availability email content.
lang/it_it/ReportEmail.tpl Converts è to è in report email content.
lang/it_it/MissedCheckinEmail.tpl Converts à to à in missed check-in email content.
lang/it_it/InviteUser.tpl Converts ' to ' in invite email content.
lang/it_it/EndReminderEmail.tpl Converts ' to ' in the end reminder email text.
lang/it_it/AccountDeleted.tpl Converts '/è to UTF-8 in account deleted email content.
lang/it_it/AccountCreationForUser.tpl Converts è to è in account creation email content.
lang/it_it/AccountCreation.tpl Converts è to è in account creation email content.
lang/it_it.php Converts many UI strings and weekday names from HTML entities to UTF-8 characters.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Italian locale to use native UTF-8 characters (è, à, ì, ’) instead of HTML entities, addressing incorrect accent rendering in the UI (e.g., weekday names) and ensuring consistent output in emails.

Changes:

  • Replaced HTML-encoded characters with UTF-8 equivalents across Italian UI strings in lang/it_it.php (including day names).
  • Replaced the same entities across all Italian email templates under lang/it_it/.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lang/it_it.php Replaces HTML entities with UTF-8 characters in Italian UI strings and day names.
lang/it_it/StartReminderEmail.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ResourceStatusChanged.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ResetPassword.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationSeriesEnding.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationParticipationActivity.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationInvitation.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationDeleted.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationCreatedAdmin.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationCreated.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReservationAvailable.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/ReportEmail.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/MissedCheckinEmail.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/InviteUser.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/EndReminderEmail.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/AccountDeleted.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/AccountCreationForUser.tpl Replaces HTML entities with UTF-8 characters in email template text.
lang/it_it/AccountCreation.tpl Replaces HTML entities with UTF-8 characters in email template text.

You can also share your feedback on Copilot code review. Take the survey.

Replace HTML-encoded characters (e.g. è, à, ') with
their native UTF-8 equivalents (è, à, ') in the Italian translation
files. Affects lang/it_it.php and all 17 email templates in lang/it_it/.

Closes: #896
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Italian localization to use native UTF-8 characters instead of HTML entities, improving correct rendering of accented characters in the UI and in outgoing emails (addresses issue #896).

Changes:

  • Replace HTML entities (e.g., è, à, ') with UTF-8 equivalents across the Italian locale PHP strings.
  • Replace HTML entities with UTF-8 equivalents across the Italian email templates.
  • Minor HTML correctness touch-ups in templates where entity replacement occurred (e.g., ensuring proper tag closure).

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
lang/it_it.php Replaces HTML entities with UTF-8 characters in Italian UI strings and day names.
lang/it_it/AccountCreation.tpl Replaces entities with UTF-8 in the “account creation” email template.
lang/it_it/AccountCreationForUser.tpl Replaces entities with UTF-8 in the “account created for user” email template.
lang/it_it/AccountDeleted.tpl Replaces entities with UTF-8 in the “account deleted” email template.
lang/it_it/EndReminderEmail.tpl Replaces entities with UTF-8 in the “end reminder” email template.
lang/it_it/InviteUser.tpl Replaces entities with UTF-8 in the “invite user” email template.
lang/it_it/MissedCheckinEmail.tpl Replaces entities with UTF-8 in the “missed check-in” email template.
lang/it_it/ReportEmail.tpl Replaces entities with UTF-8 and ensures the final paragraph tag is properly closed.
lang/it_it/ReservationAvailable.tpl Replaces entities with UTF-8 in the “resource available” email template.
lang/it_it/ReservationCreated.tpl Replaces entities with UTF-8 in the “reservation created” email template.
lang/it_it/ReservationCreatedAdmin.tpl Replaces entities with UTF-8 in the “reservation created (admin)” email template.
lang/it_it/ReservationDeleted.tpl Replaces entities with UTF-8 in the “reservation deleted” email template.
lang/it_it/ReservationInvitation.tpl Replaces entities with UTF-8 in the “reservation invitation” email template.
lang/it_it/ReservationParticipationActivity.tpl Replaces entities with UTF-8 in the “participation activity” email template.
lang/it_it/ReservationSeriesEnding.tpl Replaces entities with UTF-8 in the “series ending” email template.
lang/it_it/ResetPassword.tpl Replaces entities with UTF-8 in the “reset password” email template.
lang/it_it/ResourceStatusChanged.tpl Replaces entities with UTF-8 in the “resource status changed” email template.
lang/it_it/StartReminderEmail.tpl Replaces entities with UTF-8 in the “start reminder” email template.

You can also share your feedback on Copilot code review. Take the survey.

@JohnVillalovos JohnVillalovos merged commit a0c0f46 into develop Mar 14, 2026
19 checks passed
@JohnVillalovos JohnVillalovos deleted the jlvillal/issue_896 branch March 14, 2026 23:04
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.

Italian accents visualization in daily calendar view

2 participants