Commit 1f92f04
Migrate to i18next for internationalization (#4731)
* Add files via upload
* Add files via upload
* Migrate internationalization from webL10n to i18next in JS files
* removed random encodings spoiling the .po files
* Add files via upload
* Changed the function definition of _() suited for i18next
* updated the i18next json files
* changed the language switch functions to i18next standard in activity.js so that renderLanguageSelectIcon() works correctly
* Add files via upload
* Add files via upload
* Delete locales/ja-kana.json
* Delete locales/ja.json
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update translate_ai.py
* Add files via upload
* migration to i18next
* migration to i18next
* fixed the linting issue
* fixed some test cases of toolbar due to addition of TR language had to increase the call times
* added newly updated TR file
* fix: update package-lock.json to sync with package.json
* removed old kana kanji jap files
* added docstring in po to json converter
* added license and copyright in the converter file
* added worflow for auto conversion of po to json files
* testing worflow
* chore(i18n): auto-update JSON files from updated PO files
* resolved the lng change issues in japanese
* solved the lang change issue for japanese kana and kanji
* solved the issue of separate loader image in case of jap lang and advance mode
* po files updation
* chore(i18n): auto-update JSON files from updated PO files
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 37cde6d commit 1f92f04
File tree
101 files changed
+132938
-220
lines changed- .github/workflows
- js
- __tests__
- turtleactions/__tests__
- utils
- locales
- po
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
101 files changed
+132938
-220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
| |||
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
546 | | - | |
547 | | - | |
| 547 | + | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | | - | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | | - | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
| |||
566 | 567 | | |
567 | 568 | | |
568 | 569 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | 570 | | |
579 | 571 | | |
580 | 572 | | |
| |||
1424 | 1416 | | |
1425 | 1417 | | |
1426 | 1418 | | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1435 | 1442 | | |
1436 | 1443 | | |
1437 | 1444 | | |
| |||
2980 | 2987 | | |
2981 | 2988 | | |
2982 | 2989 | | |
| 2990 | + | |
2983 | 2991 | | |
2984 | 2992 | | |
2985 | 2993 | | |
| |||
2997 | 3005 | | |
2998 | 3006 | | |
2999 | 3007 | | |
| 3008 | + | |
3000 | 3009 | | |
3001 | 3010 | | |
3002 | 3011 | | |
| |||
4270 | 4279 | | |
4271 | 4280 | | |
4272 | 4281 | | |
| 4282 | + | |
| 4283 | + | |
| 4284 | + | |
| 4285 | + | |
| 4286 | + | |
| 4287 | + | |
| 4288 | + | |
| 4289 | + | |
| 4290 | + | |
| 4291 | + | |
| 4292 | + | |
| 4293 | + | |
| 4294 | + | |
| 4295 | + | |
| 4296 | + | |
| 4297 | + | |
| 4298 | + | |
| 4299 | + | |
| 4300 | + | |
| 4301 | + | |
| 4302 | + | |
| 4303 | + | |
| 4304 | + | |
| 4305 | + | |
| 4306 | + | |
| 4307 | + | |
| 4308 | + | |
4273 | 4309 | | |
4274 | 4310 | | |
4275 | 4311 | | |
| |||
5658 | 5694 | | |
5659 | 5695 | | |
5660 | 5696 | | |
5661 | | - | |
5662 | | - | |
5663 | | - | |
5664 | | - | |
5665 | | - | |
5666 | | - | |
5667 | | - | |
| 5697 | + | |
5668 | 5698 | | |
5669 | 5699 | | |
5670 | 5700 | | |
| |||
6033 | 6063 | | |
6034 | 6064 | | |
6035 | 6065 | | |
| 6066 | + | |
6036 | 6067 | | |
6037 | 6068 | | |
6038 | 6069 | | |
| |||
6095 | 6126 | | |
6096 | 6127 | | |
6097 | 6128 | | |
| 6129 | + | |
6098 | 6130 | | |
6099 | 6131 | | |
6100 | 6132 | | |
6101 | 6133 | | |
6102 | 6134 | | |
6103 | 6135 | | |
6104 | 6136 | | |
| 6137 | + | |
6105 | 6138 | | |
6106 | 6139 | | |
6107 | 6140 | | |
| |||
6595 | 6628 | | |
6596 | 6629 | | |
6597 | 6630 | | |
6598 | | - | |
6599 | | - | |
6600 | 6631 | | |
6601 | 6632 | | |
6602 | 6633 | | |
| |||
6713 | 6744 | | |
6714 | 6745 | | |
6715 | 6746 | | |
6716 | | - | |
6717 | | - | |
6718 | | - | |
6719 | | - | |
6720 | | - | |
6721 | | - | |
6722 | 6747 | | |
6723 | 6748 | | |
6724 | 6749 | | |
| |||
0 commit comments