

This is the way to escape the quotes-within-the-quotes. Take care to put the ^" (carrot-quote) as shown. Lua is already supported.Ĭmd.exe /c "set ^"LANG=en^" & start /D ^"D:\apps\Geany\bin\^" geany.exe" If somebody wishes to contribute specific support for easier student use then they may, but nobody can be forced to. Geany is a project run by volunteers who work on the parts they are interested in, just as the OSX support is contributed by someone who is interested in that. The file only needs to be set up once, so you can distribute it with Geany.Īlso, I want to distribute Geany as editor for students in school to teach lua language, but i want it supported by offical. So the script reads the language from a file, a method which is persistent. But the script needs to know what language you want, but there is no user interaction available to the script, and it would be annoying to have to choose every time. So the Geany OSX maintainer has provided a script to set those environment variables up before running Geany itself, and the script can then be executed from the OSX GUI.
GEANY PORTABLE LINUX WINDOWS
Also starting programs by commands at the command line may be normal for Linux, less so for windows and (IIUC) unusual for OSX. Those changes are not persistent between logins though and are not new user friendly.

To run a program with a different locale from the system one the environment variables have to be set before running the program, but that requires the user to execute one or more commands in the command line. Changing them within the program may or may not work depending on how the libraries are written, and the Geany devs do not control that. Using these is defined in the international standards for many of the libraries including for the C language itself.
GEANY PORTABLE LINUX ISO
They follow the defined ISO POSIX standards which use the system locale setting specified by environment variables. Unfortunately applications doing their own thing is not the way the writers of the libraries Geany uses see it. The best idea is to set language in Options/Preference, and Geany would ask about default language at first beginning (first run only). It is not just Windows, Setting default language using just system Linux/Windows, it is not good idea, Applications should not take language from then system (only for the first time for initial setting).
