<p><a class="user-mention" data-hovercard-user-id="811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a><br>
Thanks for the comments.<br>
I realize the debug message points that out, as I said in the initial post. The question remains: what to do about it? The documentation gives me no hints on 'locale' setup. It seems that GTK expects a<br>
locale configuration in some other way. The shell/term environment doesn't help:</p>
<pre><code>env |grep UTF
LC_MONETARY=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
</code></pre>
<p>No, I am not starting geany from a shell. Just as an app from the GUI. btw, geany itself appears in German - according to my system setup</p>
<p>However, starting it from the terminal, I see, amongst other errors, the same GTK-Warning:</p>
<pre><code>/Applications/Geany.app/Contents/MacOS/geany textaufgabenweg.tex
2018-06-19 14:46:54.895 defaults[979:23009] 
The domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist
/Applications/Geany.app/Contents/MacOS/geany: line 108: test: argument expected

(process:965): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
2018-06-19 14:46:55.006 geany-bin[965:22992] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

</code></pre>
<p>the starter is a bash script. That multiple places have a export LANG=....<br>
I suspect one of those sets <code>LANG="de.UTF-8"</code> when it should be setting <code>LANG="de_DE.UTF-8"</code><br>
There simply is no <code>de.UTF-8</code> locale on this Mac.</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-398395906">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ8g1WiU3vd-_Tibdk9HULjFrRWtcks5t-PpQgaJpZM4UsZLn">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJyZSEqqbn9H7mHyl-uzbMTMnDfBKks5t-PpQgaJpZM4UsZLn.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-398395906","url":"https://github.com/geany/geany/issues/1886#issuecomment-398395906","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: @elextr \r\nThanks for the comments.\r\nI realize the debug message points that out, as I said in the initial post. The question remains: what to do about it? The documentation gives me no hints on 'locale' setup. It seems that GTK expects a \r\nlocale configuration in some other way. The shell/term environment doesn't help:\r\n\r\n```\r\nenv |grep UTF\r\nLC_MONETARY=de_DE.UTF-8\r\nLC_NUMERIC=de_DE.UTF-8\r\nLC_ALL=de_DE.UTF-8\r\nLC_MESSAGES=de_DE.UTF-8\r\nLC_COLLATE=de_DE.UTF-8\r\nLANG=de_DE.UTF-8\r\nLC_CTYPE=de_DE.UTF-8\r\nLC_TIME=de_DE.UTF-8\r\n```\r\n\r\nNo, I am not starting geany from a shell. Just as an app from the GUI. btw, geany itself appears in German - according to my system setup\r\n\r\nHowever, starting it from the terminal, I see, amongst other errors, the same GTK-Warning:\r\n\r\n```\r\n/Applications/Geany.app/Contents/MacOS/geany textaufgabenweg.tex\r\n2018-06-19 14:46:54.895 defaults[979:23009] \r\nThe domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist\r\n/Applications/Geany.app/Contents/MacOS/geany: line 108: test: argument expected\r\n\r\n(process:965): Gtk-WARNING **: Locale not supported by C library.\r\n\tUsing the fallback 'C' locale.\r\n2018-06-19 14:46:55.006 geany-bin[965:22992] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. \r\n\r\n```\r\n\r\nthe starter is a bash script. That multiple places have a export LANG=.... \r\nI suspect one of those sets `LANG=\"de.UTF-8\"` when it should be setting `LANG=\"de_DE.UTF-8\"`\r\nThere simply is no `de.UTF-8` locale on this Mac.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1886#issuecomment-398395906"}}}</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-398395906"
}
],
"@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>