[Github-comments] [geany/geany] Selecting Interface language (#1757)

nomadbyte notifications at xxxxx
Sat Apr 25 22:23:40 UTC 2020


Well, I might be late to the party... Well, I just faced the very same question. Now with Geany at 1.36 release on Windows.

Here's a minimally invasive solution:

Change the installed **Geany Shortcut** to set the `LANG` variable to the desired AND __supported__ by your system's C API language.

Say, Geany is installed into `"D:\apps\Geany"`. You want to have it's UI in LANG=en (English)

- Find the Geany Shortcut (it's likely visible in your Windows Menu)
- Select the Shortcut's Properties
- In the Target field (where it's says `D:\apps\Geany\bin\geany.exe"), put:

        cmd.exe /c "set ^"LANG=en^" & start /D ^"D:\apps\Geany\bin\^" geany.exe"

- Take care to put the ^" (carrot-quote) as shown. This is the way to escape the quotes-within-the-quotes
- Click on "Change Icon ..." and browse to the Geany installation folder, then to to the Geany exe file: "bin\geany.exe". Click on the "Magic Lamp" icon.
- Accept the Property changes
- If Windows requires, confirm as Administrator. In general, this could be also done on user-level without need for Admin rights. 
- DONE.
- Test by launching the modified Geany shortcut

If preferred, this should be done on a copy of Geany shortcut, so that you'd have the default one and the alternative-language one. So you could as well make a new Geany shortcut from scratch and follow the steps above.


While this mat not the "perfect solution", this would not show the "Terminal" window. Indeed this could be scripted at installation, say providing an additional alternative-language shortcut, as all the needed details are available at the installation time.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1757#issuecomment-619448490
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200425/d40a50b8/attachment.htm>


More information about the Github-comments mailing list