<p>Thanks for the reply. Well, locale is useful :)</p>
<p>running "locale" in Geany gives</p>
<pre><code>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"

</code></pre>
<p>running in terminal gives:</p>
<pre><code>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
</code></pre>
<p>That shows, the locale "de.UTF-8" geany picks up from somewhere does not exist on my MacOS installation.</p>
<p>in .profile the (overkill) setting of</p>
<pre><code>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"
</code></pre>
<p>is not seen by geany, even after restarting it. running locale again gives the same result</p>
<p>Question: from where does geany pick up "de.UTF-8“, or rather how to provide geany/gtk with a supported locale?</p>
<p>thanks</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1886#issuecomment-398271066">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ__QfXifRog9jkD6sFKxHyvbgTXlks5t-H6LgaJpZM4UsZLn">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxDws43LY8zVKrB1_h_xIGbhm4mrks5t-H6LgaJpZM4UsZLn.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/geany/geany/issues/1886#issuecomment-398271066","url":"https://github.com/geany/geany/issues/1886#issuecomment-398271066","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tracing-home in #1886: Thanks for the reply. Well, locale is useful :)\r\n\r\nrunning \"locale\" in Geany gives\r\n\r\n```\r\nLANG=\"de.UTF-8\"\r\nLC_COLLATE=\"C\"\r\nLC_CTYPE=\"C\"\r\nLC_MESSAGES=\"C\"\r\nLC_MONETARY=\"C\"\r\nLC_NUMERIC=\"C\"\r\nLC_TIME=\"C\"\r\nLC_ALL=\"C\"\r\n\r\n```\r\n\r\nrunning in terminal gives:\r\n\r\n```\r\nlocale -a |grep de\r\nde_AT\r\nde_AT.ISO8859-1\r\nde_AT.ISO8859-15\r\nde_AT.UTF-8\r\nde_CH\r\nde_CH.ISO8859-1\r\nde_CH.ISO8859-15\r\nde_CH.UTF-8\r\nde_DE\r\nde_DE.ISO8859-1\r\nde_DE.ISO8859-15\r\nde_DE.UTF-8\r\n```\r\n\r\n\r\nThat shows, the locale \"de.UTF-8\" geany picks up from somewhere does not exist on my MacOS installation.\r\n\r\n\r\nin .profile the (overkill) setting of\r\n\r\n```\r\nexport LANG=\"de_DE.UTF-8\"\r\nexport LC_COLLATE=\"de_DE.UTF-8\"\r\nexport LC_CTYPE=\"de_DE.UTF-8\"\r\nexport LC_MESSAGES=\"de_DE.UTF-8\"\r\nexport LC_MONETARY=\"de_DE.UTF-8\"\r\nexport LC_NUMERIC=\"de_DE.UTF-8\"\r\nexport LC_TIME=\"de_DE.UTF-8\"\r\nexport LC_ALL=\"de_DE.UTF-8\"\r\n```\r\n\r\nis not seen by geany, even after restarting it. running locale again gives the same result\r\n\r\nQuestion: from where does geany pick up \"de.UTF-8“, or rather how to provide geany/gtk with a supported locale?\r\n\r\nthanks"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1886#issuecomment-398271066"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] Error: Unable to read environment locale: exit now. (#1886)",
"sections": [
{
"text": "",
"activityTitle": "**tracing-home**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@tracing-home",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1886,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1886\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1886#issuecomment-398271066"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 347181799\n}"
}
],
"themeColor": "26292E"
}</script>