Re: [Gimp-developer] wget plugin
- From: Mukund Sivaraman <muks banu com>
- To: Alexandre Prokoudine <alexandre prokoudine gmail com>
- Cc: gimp-developer <gimp-developer-list gnome org>
- Subject: Re: [Gimp-developer] wget plugin
- Date: Sun, 1 Apr 2012 15:01:30 +0530
Hi Alexandre
On Sun, Apr 01, 2012 at 12:56:54PM +0400, Alexandre Prokoudine wrote:
> Hi,
>
> I've been wondering for a while why the plug-in for fetching an image
> from network location always shows its messages in English, so I ended
> up looking into the code...
>
> plug-ins/file-uri/uri-backend-wget.c has this:
>
> g_setenv ("LANGUAGE", "C", TRUE);
> g_setenv ("LC_ALL", "C", TRUE);
> g_setenv ("LANG", "C", TRUE);
>
> And then translatable messages follow.
>
> So the plug-in doesn't even give those messages a chance to show up as
> translated, while providing false hope :)
>
> Is there a reason for such a cruelty? :)
The plug-in parses the output of wget to gather the status of what
happened. So it needs the output of wget in the C locale, so it has
just 1 variant to compare.
The wget plug-in is a fallback option. Maybe you can use GVFS or
libcurl.
Mukund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]