Skip to content

Commit a1dbca8

Browse files
Add new locales to the polaris library (#13995)
Related to : shop/issues-discover-and-convert#62 **Context** We want to add 8 new languages: Bulgarian, Greek, Hungarian, Hindi, Indonesian, Romanian, Russian, and Lithuanian. **What problem is this PR solving?** For this PR, we are adding all locales . The main change here was adding the following locales into translation.yml file to trigger Translation Platform: bg, el, hi, hu, id, lt, ro, ru. Note : I have added manual translations now, and added a space on source file, that should trigger translation through TP and get same translation added through TP.
1 parent d1ff9e4 commit a1dbca8

File tree

13 files changed

+3303
-0
lines changed

13 files changed

+3303
-0
lines changed

.changeset/new-language-support.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris': minor
3+
---
4+
5+
Added support for 8 new languages in Polaris component translations: Hindi (hi), Lithuanian (lt), Bulgarian (bg), Hungarian (hu), Romanian (ro), Russian (ru), Indonesian (id), and Greek (el). These translations provide localized user interfaces for merchants in these language regions, covering all component strings including action menus, form elements, date/time pickers, file upload interfaces, navigation, data tables, filters, modal dialogs, progress indicators, and accessibility labels.

polaris-react/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 13.10.0
4+
5+
### Minor Changes
6+
7+
- Added support for 8 new languages in Polaris component translations:
8+
- Hindi (hi)
9+
- Lithuanian (lt)
10+
- Bulgarian (bg)
11+
- Hungarian (hu)
12+
- Romanian (ro)
13+
- Russian (ru)
14+
- Indonesian (id)
15+
- Greek (el)
16+
17+
These translations provide localized user interfaces for merchants in these language regions, covering all component strings including action menus, form elements, date/time pickers, file upload interfaces, navigation, data tables, filters, modal dialogs, progress indicators, and accessibility labels.
18+
319
## 13.9.5
420

521
### Patch Changes

polaris-react/locales/bg.json

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

polaris-react/locales/el.json

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

polaris-react/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,3 +406,5 @@
406406
}
407407
}
408408
}
409+
410+

polaris-react/locales/hi.json

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)