@LudovicRousseau Sorry for the long delay. I had a look at the script and made this quick change:
https://github.com/geany/geany-osx/compare/lang_test
Would this fix your problem? At least for the Czech locale both LANG and LC_ALL get exported now and have the UTF-8 extension.