[Github-comments] [geany/geany] Error: Unable to read environment locale: exit now. (#1886)

tracing-home notifications at xxxxx
Tue Jun 19 04:31:07 UTC 2018


Thanks for the reply. Well, locale is useful :)

running "locale" in Geany gives

```
LANG="de.UTF-8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"

```

running in terminal gives:

```
locale -a |grep de
de_AT
de_AT.ISO8859-1
de_AT.ISO8859-15
de_AT.UTF-8
de_CH
de_CH.ISO8859-1
de_CH.ISO8859-15
de_CH.UTF-8
de_DE
de_DE.ISO8859-1
de_DE.ISO8859-15
de_DE.UTF-8
```


That shows, the locale "de.UTF-8" geany picks up from somewhere does not exist on my MacOS installation.


in .profile the (overkill) setting of

```
export LANG="de_DE.UTF-8"
export LC_COLLATE="de_DE.UTF-8"
export LC_CTYPE="de_DE.UTF-8"
export LC_MESSAGES="de_DE.UTF-8"
export LC_MONETARY="de_DE.UTF-8"
export LC_NUMERIC="de_DE.UTF-8"
export LC_TIME="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"
```

is not seen by geany, even after restarting it. running locale again gives the same result

Question: from where does geany pick up "de.UTF-8“, or rather how to provide geany/gtk with a supported locale?

thanks

-- 
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/1886#issuecomment-398271066
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180618/137fdc81/attachment.html>


More information about the Github-comments mailing list