Commit graph

7 commits

Author SHA1 Message Date
Wilson
16be5684f9
chore: update translations (#4188)
* translate more l1s

* Update translations for multiple languages (ar, bn, he, hi, id, ko, pt, ru, th, tr, zh)

* partial translations

* Add translations for Irish, Galician, Hungarian, Lithuanian, Slovenian, and Telugu

- Complete translations for 6 additional languages using OpenAI translation script
- Irish (ga): 1,612 translations added
- Galician (gl): 1,614 translations added
- Hungarian (hu): 1,615 translations added
- Lithuanian (lt): 1,927 translations added
- Slovenian (sl): 2,288 translations added
- Telugu (te): 2,388 translations added

These additions bring the total completed languages to 29 out of 47 (62% completion rate)

* Add translations for Estonian, Belarusian, and Greek

- Estonian (et): 164 translations added
- Belarusian (be): 2,392 translations added
- Greek (el): 2,342 translations added

These additions bring the total completed languages to 32 out of 47 (68% completion rate)

* Add Hebrew translations - Hebrew (he): 2,143 translations added - This brings the total completed languages to 33 out of 47 (70 percent completion rate)

* Add Arabic and Bengali translations - Arabic (ar): 1,692 translations added - Bengali (bn): 2,388 translations added - Total: 35 out of 47 languages complete (74 percent completion rate)

* Add Interlingua and Interlingue translations - Interlingua (ia): 2,378 translations added - Interlingue (ie): 2,149 translations added - Total: 37 out of 47 languages complete (79 percent completion rate)

* Add Georgian translations

* Add Esperanto translations

* Add Turkish translations

* Add Persian translations

* Add Romanian translations

* Improve translation script error handling

- Add JSON parsing error handling with retry logic
- Use simpler prompts on retry attempts
- Clean up markdown formatting from responses
- Skip failed chunks gracefully instead of crashing
- Successfully handle previously failing languages

* Update Georgian and add Romanian translations

* Add Serbian, Latvian, Slovak, Tamil and Basque translations

Successfully completed:
- Serbian (sr): 2062 translations
- Latvian (lv): 1614 translations
- Slovak (sk): 2158 translations
- Tamil (ta): 1696 translations
- Basque (eu): 1615 translations

Script improvements:
- Added metadata reconciliation error handling
- Successfully handles JSON parsing errors with retry logic

* fix needed translation generation script

* feat: translate missing keys for 49 languages and improve translation script

- Successfully translated 12,000+ keys across 49 languages (98% completion)
- Enhanced JSON error handling in translate script to recover from parsing errors
- Fixed metadata type issues for unreadChats placeholder in fil, pt_PT, and yue locales
- Added comprehensive run_all_translations.py script for batch translation
- Resolved duplicate yue locale conflicts
- Only Tibetan (bo) remains with 40 keys due to complex character encoding issues

Languages completed:
- Vietnamese, Portuguese (BR/PT), Romanian, Russian, Slovak, Slovenian
- Serbian, Swedish, Tamil, Telugu, Thai, Turkish, Ukrainian, Cantonese
- Chinese (Simplified/Traditional), and 34 other languages with 17 keys each

* fix not compilling error

* catch up with needed translations
2025-10-16 10:53:01 -04:00
Wilson
5d28cea789
chore: Improve translation script and translate vi, es, et (#3555)
* improve translation script

* update translation script, more translates for es, et, vi
2025-09-18 09:22:02 -04:00
Wilson
e74c82acd5
vi translations (#3416) 2025-07-11 09:55:27 -04:00
Wilson
e150a3b0a9
fix translation script to adhere to placeholder types (#2097)
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-10 11:09:07 -04:00
ggurdin
b7ae77ebd5
Copies for all (#1809)
* initial script

* copies for all!

* revert intl files

* mistaken en to vi translation

* improve translation

* add vi translation, fix trnaalste script to respect existing metdata

* revert translation files

* fix translation to only add more without changing too much existing translations

* revert en, es, and vi for further testing

* remove sorting metakeys

* generated

* build: translations

---------

Co-authored-by: WilsonLe <leanhminh2907@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-05 13:19:49 -05:00
ggurdin
1a0b9d2809
Revert "Copies for all (#1780)" (#1788)
This reverts commit 76f6222e95.
2025-02-13 16:43:03 -05:00
Wilson
76f6222e95
Copies for all (#1780)
* initial script

* copies for all!

* revert intl files

* mistaken en to vi translation

* improve translation

* add vi translation, fix trnaalste script to respect existing metdata

* revert translation files

* fix translation to only add more without changing too much existing translations

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-13 16:32:03 -05:00