Hi

I use this in my code to force English and byte-wise character interpretation.

  putenv("LC_ALL=C\0");
  putenv("LANG=C\0");

Could be that you should export your variable and launch netspeed within the
same shell.

export LANG=de_DE.UTF-8

Bests,
Joël


On Sun, Mar 19, 2017 at 10:23 PM, Jens Lody <fed...@jenslody.de> wrote:
> Am Sun, 19 Mar 2017 20:22:45 +0100
> schrieb Silvia Sanchez <bhkoh...@gmail.com>:
>
>> No. I think is a common issue with Gnome. I experienced the same with
>> Gnome Recipes. In theory the app is translated, I had my system as
>> German, but it never showed anything but English.  The app menu in
>> Shell  (where's the apps name and some option) was translated though.
>>
>>
>> My 2 cents,
>> Sylvia
>>
> No it's an incorrect use.
> Easy to fix:
> three js-files in the netspeed extensions are using gettext: prefs.js,
> net_speed.js and net_speed_status_icon.js.
>
> In all three files just change the line:
> const _ = Gettext.gettext;
> to
> const _ = Gettext.domain('netspeed').gettext;
>
> and reload the gnome-shell.
> By the way,the gettext-domain in the schemas file is also incorrect if
> I see it correctly, it should also be 'netspeed' and not
> 'gnome-shell-extensions', but it seems, that this does not do any harm.
>
>>
>> On So, 2017-03-19 at 14:11 +0000, Martin Gansser wrote:
>> > > I am working on a review of gnome-shell-extension-netspeed
>> > > (https://b
>> ugzilla.redhat.com/show_bug.cgi?id=1377631).
>> > > > I'm using the latest version of NetSpeed from the extensions
>> > > > website,
>> with GNOME 3.22, on Fedora 25 Workstation x86_64 in a german
>> environment (LANG=de_DE.UTF-8).
>> >
>> > Does anyone have an idea, how to fix this ?
>> > _______________________________________________
>> > devel mailing list -- devel@lists.fedoraproject.org
>> > To unsubscribe send an email to
>> > devel-le...@lists.fedoraproject.org
>
>
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to