On Sat, Aug 11, 2018, at 00:43, Matthew Brush wrote:<br>
> I'm pretty sure the `LANG` variable is the way to do it for both Geany <br>
> and GTK+ (gettext) on Windows. It can be [set for a particular shortcut]<br>
> (https://netlicensing.io/blog/2012/06/15/set-environment-variables-in-windows-shortcut/) <br>
> which avoids the need to switch all programs using gettext into the same <br>
> language system-wide.<br>
<br>
You were perfectly right! If I set up the shortcut in the way you have proposed, the menus are displayed uniformly in English!<br>
<br>
Funny side note: I found in this particular case, that it is sufficient to set the LANG variable to ANY value in order to get the menus in English. Even if I set it to de, fr or ja, I get English menus throughout. I guess that there are simply no other language packs installed for Geany, and since the LANG variable is set, Geany doesn't bother GTK with doing helping in the translation.<br>
<br>
Ronald<br>


<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/1919#issuecomment-412482432">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3jG7sIP-cPgyH8TCHt-eW4gIkvlks5uQVzhgaJpZM4Vxqyl">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ3W-tkFMex7iLQuNnCgt-jhb_i4uks5uQVzhgaJpZM4Vxqyl.gif" height="1" width="1" alt="" /></p>
<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":"@rovf in #1919: On Sat, Aug 11, 2018, at 00:43, Matthew Brush wrote:\n\u003e I'm pretty sure the `LANG` variable is the way to do it for both Geany \n\u003e and GTK+ (gettext) on Windows. It can be [set for a particular shortcut]\n\u003e (https://netlicensing.io/blog/2012/06/15/set-environment-variables-in-windows-shortcut/) \n\u003e which avoids the need to switch all programs using gettext into the same \n\u003e language system-wide.\n\nYou were perfectly right! If I set up the shortcut in the way you have proposed, the menus are displayed uniformly in English!\n\nFunny side note: I found in this particular case, that it is sufficient to set the LANG variable to ANY value in order to get the menus in English. Even if I set it to de, fr or ja, I get English menus throughout. I guess that there are simply no other language packs installed for Geany, and since the LANG variable is set, Geany doesn't bother GTK with doing helping in the translation.\n\nRonald\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1919#issuecomment-412482432"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1919#issuecomment-412482432",
"url": "https://github.com/geany/geany/issues/1919#issuecomment-412482432",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] Geany on Windows: Mixture between German and English (#1919)",
"sections": [
{
"text": "",
"activityTitle": "**rovf**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@rovf",
"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\": 1919,\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\": 1919\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1919#issuecomment-412482432"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 365341861\n}"
}
],
"themeColor": "26292E"
}
]</script>