On Tue, Aug 7, 2018, at 22:21, elextr wrote:<br>
> There is not a selection on install, GTK uses the LANG environment <br>
> variable, part of the locale.  So to run an application in another <br>
> language the command (on *ix) `LANG=en geany` is needed.  Not sure how <br>
> you set environments on windows.<br>
<br>
You *can* set environment variables on windows too, though the "canonical" way to do it is to set it in a system-wide manner, so that any application sees the same environment, which we don't want here. To set an environment for a single application, the only way I am aware of is to create a batch file to start this application, and this batch file would implicitly create a command window. Possible, but awkward.<br>
<br>
In any case, I would be surprised if LANG is the only parameter which influences the interface language of Geany, because the LANG variable is rarely used in Windows, and Windows has its own way to supply the default language.<br>
<br>
The typical way to set a language in an "application specific" way - at least on Windows - is, that the application itself provides this choice. Many applications do this at the time of installation, and some allow to change the interface language "on the fly" while using the program, using a setting in the preferences. If I remember right, I did select "English" at installation time, but I don't know whether this applies only to the installation routine, or also to the installed program. At least this would explain why the vast majority of interface elements is correctly displayed in English.<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-411320064">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1W9ETaKFLnQ4yMCdMBlg6JSKOycks5uOplMgaJpZM4Vxqyl">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ2BHLcKDpMD8tZtTisUQf0w04AMFks5uOplMgaJpZM4Vxqyl.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 Tue, Aug 7, 2018, at 22:21, elextr wrote:\n\u003e There is not a selection on install, GTK uses the LANG environment \n\u003e variable, part of the locale.  So to run an application in another \n\u003e language the command (on *ix) `LANG=en geany` is needed.  Not sure how \n\u003e you set environments on windows.\n\nYou *can* set environment variables on windows too, though the \"canonical\" way to do it is to set it in a system-wide manner, so that any application sees the same environment, which we don't want here. To set an environment for a single application, the only way I am aware of is to create a batch file to start this application, and this batch file would implicitly create a command window. Possible, but awkward.\n\nIn any case, I would be surprised if LANG is the only parameter which influences the interface language of Geany, because the LANG variable is rarely used in Windows, and Windows has its own way to supply the default language.\n\nThe typical way to set a language in an \"application specific\" way - at least on Windows - is, that the application itself provides this choice. Many applications do this at the time of installation, and some allow to change the interface language \"on the fly\" while using the program, using a setting in the preferences. If I remember right, I did select \"English\" at installation time, but I don't know whether this applies only to the installation routine, or also to the installed program. At least this would explain why the vast majority of interface elements is correctly displayed in English.\n\nRonald\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1919#issuecomment-411320064"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1919#issuecomment-411320064",
"url": "https://github.com/geany/geany/issues/1919#issuecomment-411320064",
"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-411320064"
}
],
"@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>