<p><a class="user-mention" data-hovercard-user-id="713965" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/techee">@techee</a><br>
Here is my corresponding screenshot. I get essentially the same, with my primary language set to German. The terminal output reflects that. So the geany interface is set to German without they configuration file.</p>
<p>Looking with</p>
<pre><code>defaults read .GlobalPreferences AppleLocale
de_DE
</code></pre>
<p>If I then add to the bottom of the startup script:</p>
<pre><code>export LANG="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"
</code></pre>
<p>context can run without a problem. Obviously this is not a solution only a quickfix hack.</p>
<p>So the script ultimately deciding that "de" is the correct locale and not "de_DE" causes the trip-up.</p>
<p><a target="_blank" href="https://user-images.githubusercontent.com/35515961/41616740-03403570-73ff-11e8-9b1f-b5cf71b809fc.png"><img width="934" alt="bildschirmfoto 2018-06-19 um 20 08 58" src="https://user-images.githubusercontent.com/35515961/41616740-03403570-73ff-11e8-9b1f-b5cf71b809fc.png" style="max-width:100%;"></a></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-398503982">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJx68BNZZPOcwXHG6d8SS963t4Cp0ks5t-UZggaJpZM4UsZLn">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ8v-vdnKY81CUqLt_9Z4cJJrluzYks5t-UZggaJpZM4UsZLn.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-398503982","url":"https://github.com/geany/geany/issues/1886#issuecomment-398503982","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: @techee \r\nHere is my corresponding screenshot. I get essentially the same, with my primary language set to German. The terminal output reflects that. So the geany interface is set to German without they configuration file. \r\n\r\nLooking with \r\n```\r\ndefaults read .GlobalPreferences AppleLocale\r\nde_DE\r\n```\r\nIf I then add to the bottom of the startup script:\r\n```\r\nexport LANG=\"de_DE.UTF-8\"\r\nexport LC_ALL=\"de_DE.UTF-8\"\r\n```\r\ncontext can run without a problem. Obviously this is not a solution only a quickfix hack.\r\n\r\nSo the script ultimately deciding that \"de\" is the correct locale and not \"de_DE\" causes the trip-up.\r\n\r\n\u003cimg width=\"934\" alt=\"bildschirmfoto 2018-06-19 um 20 08 58\" src=\"https://user-images.githubusercontent.com/35515961/41616740-03403570-73ff-11e8-9b1f-b5cf71b809fc.png\"\u003e\r\n\r\n \r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1886#issuecomment-398503982"}}}</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-398503982"
}
],
"@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>