<p></p>
<blockquote>
<p>It is clear that Geany used the user-selected locale in Windows, until somebody broke it. It is a bug and should be fixed.</p>
</blockquote>
<p>No, as is noted <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="348208833" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/1919" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1919/hovercard" href="https://github.com/geany/geany/issues/1919">#1919</a>, if <code>LANG</code> is not set, GTK, the GUI library, seems to call <code>setlocale(LC_ALL,"");</code> and use the result to set its built-in elements to that.  But that doesn't set the rest of the gettext() system as used by Geany because that was initialised before GTK got started.  This resulted in a mixed UI as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="348208833" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/1919" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1919/hovercard" href="https://github.com/geany/geany/issues/1919">#1919</a> discusses.  GTK shouldn't try to set locale over the top of the application and in fact GTK4 now provides a call to disable the offending GTK call to setlocale.</p>
<blockquote>
<p>It is clear that Geany used the user-selected locale in Windows, until somebody broke it. It is a bug and should be fixed.</p>
</blockquote>
<p>No, Geany never supported anything but the POSIX environment variables to set its locale.  The fact that one of the libraries Geany uses tried to be smart if <code>LANG</code> is not set just shows again that you need to set it, and that was the fix to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="348208833" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/1919" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1919/hovercard" href="https://github.com/geany/geany/issues/1919">#1919</a>.</p>
<p>Also note that just because somebody posted something on an issue comment doesn't make it correct, especially when the rest of the comments contradict it.</p>
<p>I can assure you Geany never intentionally followed the Windows locale settings, it has not "broken".  In fact <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="293723386" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/1757" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1757/hovercard" href="https://github.com/geany/geany/issues/1757">#1757</a> is still open for anyone to contribute better solutions, but other than convenience scripts to set <code>LANG</code> (as used on the OSX port) no solution has been proposed.</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/2831#issuecomment-865676799">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2LK4TQ5YWXUFAZ5GTTUA435ANCNFSM47BDLEHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4W6IYDJ3UCMGJQYVTTUA435A5CNFSM47BDLEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGOMS37Y.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/2831#issuecomment-865676799",
"url": "https://github.com/geany/geany/issues/2831#issuecomment-865676799",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>