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

Petros Grammatikopoulos notifications at xxxxx
Sun Jul 12 03:08:31 UTC 2020


> 
> 
> @pgram1 did you read the comment [above](https://github.com/geany/geany/issues/1757#issuecomment-362868750) and also [this](https://github.com/geany/geany/issues/1757#issuecomment-426463375) one.
> 
> If you have a solution that does not involve environment variables please contribute it, but please don't just keep demanding "somebody" does it for you.

As per https://github.com/geany/geany/issues/1757#issuecomment-362858124, I created a bat script that batch renames locale folders, as Geany seems to fallback to LANG=en if it finds no locale directories.

```bat

@Echo Off

REM Run script with Administrator privileges 

REM Put the locale path here (typically "C:\Program Files (x86)\Geany\share\locale")
CD "C:\Program Files (x86)\Geany\share\locale"

REM This renames all locale folders except special stylings to foo-unused
FOR /D %%G in ("*") DO if not %%~nxG==en at boldquot if not %%~nxG==en at quot if not %%~nxG==en at shaw Ren %%~nxG %%~nxG-unused
Echo Locales are disabled.
PAUSE


```

Quite hacky but I guess it works...

-- 
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-657167749
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200711/092a2012/attachment.htm>


More information about the Github-comments mailing list