fix(i18n): replace HTML entities with UTF-8 characters in Italian locale#1143
fix(i18n): replace HTML entities with UTF-8 characters in Italian locale#1143JohnVillalovos merged 1 commit intodevelopfrom
Conversation
There was a problem hiding this comment.
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.phpto 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.
679dd1c to
932f98e
Compare
932f98e to
e02e75d
Compare
There was a problem hiding this comment.
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
e02e75d to
0475067
Compare
There was a problem hiding this comment.
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.
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