Summary
Turkish (tr_TR) translation generation fails while other languages work
Steps to reproduce
- Run translation generation for Turkish (tr_TR) via the UI or "./scripts/ai/gemini-translate.sh tr_TR".
-
- Observe the "Translation complete" notification.
-
- Check the output file in "translations/tr_TR.json".
Expected behavior
The translation should be generated successfully.
Root Cause:
"gemini-translate.sh" passes the full content of "en_US.json" (~228 KB, 3655 keys) as a shell argument to both "jq" and "curl". This exceeds the shell's "ARG_MAX" limit.
Other bundled languages (de_DE, etc.) appear to work because their ".json" files already exist in the "translations/" directory - they were never actually generated through this script on the user's machine.
Logs
Check gemini-translate.sh for ARG_MAX limit.
Version
Latest
Compositor
niri
Quickshell version
0.2.1
Qt version
6.6.1
Distro
CachyOS (Arch Linux)
Panel family
ii
Relevant configuration
Additional notes
No response
Summary
Turkish (tr_TR) translation generation fails while other languages work
Steps to reproduce
Expected behavior
The translation should be generated successfully.
Root Cause:
"gemini-translate.sh" passes the full content of "en_US.json" (~228 KB, 3655 keys) as a shell argument to both "jq" and "curl". This exceeds the shell's "ARG_MAX" limit.
Other bundled languages (de_DE, etc.) appear to work because their ".json" files already exist in the "translations/" directory - they were never actually generated through this script on the user's machine.
Logs
Check gemini-translate.sh for ARG_MAX limit.Version
Latest
Compositor
niri
Quickshell version
0.2.1
Qt version
6.6.1
Distro
CachyOS (Arch Linux)
Panel family
ii
Relevant configuration
Additional notes
No response