Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-13 Thread elextr
Closed #1919.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#event-1786467333

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-13 Thread rovf
On Sat, Aug 11, 2018, at 00:43, Matthew Brush wrote:
> I'm pretty sure the `LANG` variable is the way to do it for both Geany 
> and GTK+ (gettext) on Windows. It can be [set for a particular shortcut]
> (https://netlicensing.io/blog/2012/06/15/set-environment-variables-in-windows-shortcut/)
>  
> which avoids the need to switch all programs using gettext into the same 
> language system-wide.

You were perfectly right! If I set up the shortcut in the way you have 
proposed, the menus are displayed uniformly in English!

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.

Ronald


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-412482432

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-10 Thread Matthew Brush
I'm pretty sure the `LANG` variable is the way to do it for both Geany and GTK+ 
(gettext) on Windows. It can be [set for a particular 
shortcut](https://netlicensing.io/blog/2012/06/15/set-environment-variables-in-windows-shortcut/)
 which avoids the need to switch all programs using gettext into the same 
language system-wide.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-412225092

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-10 Thread elextr
> What translation file do I need to have Geany display all menus in English?

None, Geany is written in English.  What you need to find is a way of stopping 
GTK from translating stuff when you don't want it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-412184847

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-10 Thread rovf
On Wed, Aug 8, 2018, at 15:25, Colomban Wendling wrote:
> @rovf oh, OK :)
> 
> Reading in more details what you see, is it possible that you actually 
> don't have Geany's translation files, but GTK is installed with its own?  
> That might explain it, with you seeing strings from GTK translated, and 
> strings from Geany untranslated (because you e.g. didn't install the 
> translations).

I do use gtk2_prefs.exe to set the appearance of all my GTK applications. 
However, this program allows only to configure colouring schema and font 
properties. There is nothing which looks like a language set up.

What translation file do I need to have Geany display all menus in English?

Ronald


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-412038519

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-08 Thread Colomban Wendling
@rovf oh, OK :)

Reading in more details what you see, is it possible that you actually don't 
have Geany's translation files, but GTK is installed with its own?  That might 
explain it, with you seeing strings from GTK translated, and strings from Geany 
untranslated (because you e.g. didn't install the translations).
I'm not sure, but that sounds plausible.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411404109

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-08 Thread rovf

On Wed, Aug 8, 2018, at 10:02, Colomban Wendling wrote:
> A workaround could be (re)moving Geany's translation files so it uses 
> the untranslated (US English) version.

Yes I could do this ... but your suggestion makes me recognize that I didn't 
state the purpose of my posting in a clear way:

It is not that the spurious German texts bother be. I understand them perfectly 
well, and I don't mind living with a bi-language-Geany. 

The reason why I posted this, is, because the language mixture might be caused 
by an error in Geany, and the developers of Geany should at least be aware of 
this effect, and *if* they want to research on this, they can contact me for 
further information if necessary.

Ronald


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411397452

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-08 Thread Colomban Wendling
A workaround could be (re)moving Geany's translation files so it uses the 
untranslated (US English) version.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411322259

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-08 Thread rovf
On Tue, Aug 7, 2018, at 22:21, elextr wrote:
> There is not a selection on install, GTK uses the LANG environment 
> variable, part of the locale.  So to run an application in another 
> language the command (on *ix) `LANG=en geany` is needed.  Not sure how 
> you set environments on windows.

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.

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.

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.

Ronald


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411320064

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-07 Thread elextr
There is not a selection on install, GTK uses the LANG environment variable, 
part of the locale.  So to run an application in another language the command 
(on *ix) `LANG=en geany` is needed.  Not sure how you set environments on 
windows.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411189214

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-07 Thread rovf
On Tue, Aug 7, 2018, at 10:12, elextr wrote:
> > Zurücksetzen
> 
> Its a translation for "Reset".
> 
> Not sure why the Compile and Build don't translate, they have 
> translations in the po.de file, [eg]
> (https://github.com/geany/geany/blob/3f20ad363a38e9f6b08877d5ade1290d7c69e670/po/de.po#L3785)
> 
> Absolutely no idea why the menu isn't in German, @eht16 how German is 
> your windows Geany? :)

Actually, I would *prefer* it to be English. I don't remember how I installed 
it, but if there was a language choice, I have for sure selected "English". I'm 
just wondering why some (a few) entries are German.

Ronald


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-411074343

Re: [Github-comments] [geany/geany] Geany on Windows: Mixture between German and English (#1919)

2018-08-07 Thread elextr
> Zurücksetzen

Its a translation for "Reset".

Not sure why the Compile and Build don't translate, they have translations in 
the po.de file, 
[eg](https://github.com/geany/geany/blob/3f20ad363a38e9f6b08877d5ade1290d7c69e670/po/de.po#L3785)

Absolutely no idea why the menu isn't in German, @eht16 how German is your 
windows Geany? :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1919#issuecomment-410972934