fluffychat/scripts
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
..
add-firebase-messaging.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
build-ios.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
build-macos.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
build-windows.ps1 fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
create_fdroid_repos.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
enable_mobile_env.patch added patch and moved to manual 2024-12-24 03:55:16 +01:00
generate-locale-config.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
generate_command_hints_glue.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-check-release-build.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-create-environment-variables.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-prepare-homeserver.sh code files 2023-11-08 12:27:18 -05:00
integration-prepare-host.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-server-conduit.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-server-dendrite.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-server-synapse.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
integration-start-avd.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
languages.json chore: Improve translation script and translate vi, es, et (#3555) 2025-09-18 09:22:02 -04:00
package-windows.ps1 fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
prepare-android-release.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
prepare-fdroid.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
prepare-web.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
prepare-windows.ps1 fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
release-ios-testflight.sh fix: Reintroduce shared isolate (#3981) 2025-09-16 09:30:46 -04:00
release-playstore-beta.sh code files 2023-11-08 12:27:18 -05:00
release-playstore.sh code files 2023-11-08 12:27:18 -05:00
run_all_translations.py chore: update translations (#4188) 2025-10-16 10:53:01 -04:00
translate.py chore: update translations (#4188) 2025-10-16 10:53:01 -04:00
translate.sh code files 2023-11-08 12:27:18 -05:00
update-dependencies.sh code files 2023-11-08 12:27:18 -05:00