Commit 8dfb802
authored
fix: replace Malay strings in Burmese (my) locale (#17012)
fixes : #16987
## Which branch should this PR target?
- **`main`** — This is a translation bug fix in the current codebase
(`4.0.0-beta.0`). The same issue also affects v3 users, so maintainers
can backport to `3.x` if needed.
## What?
Fixes incorrect translations in the Burmese (`my`) locale where ~88
strings were Malay/Indonesian instead of Burmese (Myanmar).
The ISO 639-1 code `my` is Burmese/Myanmar, not Malay (`ms`). Several
keys in `packages/translations/src/languages/my.ts` contained Malay text
mixed in with correct Burmese translations.
## Why?
Users selecting Burmese in the admin panel were seeing Malay/Indonesian
UI text, which is confusing and makes the locale effectively broken for
Burmese speakers.
**Example:**
Before (Malay):
```ts
my.translations.general.noResultsDescription
// "Sama ada tiada yang wujud atau tiada yang sepadan dengan penapis yang anda tentukan di atas."
```
After (Burmese):
```ts
my.translations.general.noResultsDescription
// "ရလဒ်မရှိပါ။ ဒေတာမရှိသေးသည်ဖြစ်စေ အထက်တွင် သတ်မှတ်ထားသော စစ်ထုတ်မှုများနှင့် ကိုက်ညီမှုမရှိသည်ဖြစ်စေ ဖြစ်နိုင်ပါသည်။"
```
## How?
Updated `packages/translations/src/languages/my.ts` and replaced
Malay/Indonesian strings with proper Burmese translations across these
namespaces:
- `authentication` (6 strings) — e.g. `accountVerified`,
`logoutSuccessful`
- `dashboard` (5 strings) — e.g. `deleteWidget`, `editDashboard`
- `error` (7 strings) — e.g. `documentNotFound`, `restoringTitle`
- `general` (30+ strings) — e.g. `aboutToPermanentlyDelete`,
`noResultsDescription`, `unsavedChanges`
- `hierarchy` (6 strings) — e.g. `moveItemsToRootConfirmation`
- `localization` (5 strings)
- `upload` (3 strings)
- `validation` (3 strings)
- `version` (10+ strings)
Also fixed `general.restoring`, which contained a corrupted Malay
system-prompt fragment instead of the expected `Restoring...` string.
All interpolation placeholders (`{{id}}`, `{{label}}`, `{{title}}`,
etc.) and Payload-specific terms were preserved.
## Test plan
- [x] Verified `my.translations.general.noResultsDescription` returns
Burmese text
- [x] Verified other updated keys (e.g.
`authentication.accountVerified`, `dashboard.deleteWidget`) return
Burmese text
- [x] Confirmed no remaining Malay/Indonesian strings in `my.ts`
- [ ] Switch admin locale to Burmese and spot-check affected UI areas
(dashboard, trash/restore flows, version comparison)1 parent a798940 commit 8dfb802
1 file changed
Lines changed: 134 additions & 135 deletions
0 commit comments