Wireshark-dev: Re: [Wireshark-dev] On which platforms is there a need for Wireshark to have a "
From: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Date: Thu, 6 Nov 2014 10:35:57 +0100
> In what ways is it used that its disappearance would be a big loss rather than, at most, a minor loss?

For me: big loss

How to inform user that Wireshark support some translations if you
remove user choose of it? It will be big problem for users.

I check some applications:
assistant, designer works in Guy Harris mode, but more advanced like
Qt Creator (https://qt-project.org/doc/qtcreator-2.6/creator-faq.html),
Firefox let user choose language.

See how do that Pidgin:
https://developer.pidgin.im/wiki/Using%20Pidgin#HowdoesPidginforWindowsdeterminewhichlanguagetouse
-------------------------------------------------------------------------
How do I change the language of Pidgin?

For the user who installed Pidgin, the language selected during
installation will be the default. This can be overridden by setting
the PIDGINLANG environment variable (for example, PIDGINLANG=de). If
neither of these are specified, it will fall back to the default
Windows user locale setting.

Note that if the translation for the specified language isn't present,
Pidgin will fall back to the English default. See below for how to
install additional translations.

1. Install the translation using the installer if it is not already
installed. To do this, select the appropriate 'Localization' component
from the 'Components selection' screen. You will have to select the
ISO-code (the "Alpha-2 code" from this table) of the desired language.
Once this is done, you should see the installed translations in the
locale subdirectory of the directory where you installed
Pidgin(%ProgramFiles%\Pidgin by default) - there will be one folder
per language.

2. Select the language of your preference setting the PIDGINLANG
environment variable (add it if it isn't already there) to the
ISO-code of the desired language. (Start > Settings > Control Panel >
System > Advanced > Environment Variables)

3. Restart Pidgin
-------------------------------------------------------------------------

In my opinion this is not easy! Wireshark current solution is much better.
Please note that I use English Wireshark, when Polish translation will
be available I will use it on my English Ubuntu, but in home I want to
use Italian Wireshark and sometimes Polish/English. Set language in
GUI is really helpful.

And... we can change default behaviour and add possibility to change
language in runtime, without saving this preference.

Using environment variable is not user friendly.

On 5 November 2014 19:00, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:
>
>
> 2014-11-05 18:31 GMT+01:00 Guy Harris <guy@xxxxxxxxxxxx>:
>>
>>
>> On Nov 5, 2014, at 2:30 AM, Pascal Quantin <pascal.quantin@xxxxxxxxx>
>> wrote:
>>
>> >> 2014-11-05 11:12 GMT+01:00 Michal Labedzki <michal.labedzki@xxxxxxxxx>:
>> >>> Please run "LC_ALL=it_IT wireshark"
>> >>
>> >> Does it work on Windows? I do not remember to know anyone GUI
>> >> application without option to change language by GUI. Do you know how
>> >> to change locale after running application? (QEvent::LocaleChange ?)
>> >> If this is not possible then dynamic change application language will
>> >> be lost.
>> >
>> > +1. Most software I use allow me to manually override the language
>> > without messing with the environment variables.
>>
>> Do you use any GUI applications other than Wireshark?
>
>
> Yes, tons of as I'm on Windows :)
>
>>
>> On what operating system do you use them?
>
>
> See above
>
>>
>>
>> Do they all offer a manual language override, so that you can set a
>> particular application's language independently of your personal "global"
>> language setting?
>
>
> The only ones I can think to supporting multiple languages without a GUI
> option to set it are...  command line based coming from Linux world (like
> mercurial) and here I do use the environment variable. But it's more painful
> for a lazy guy and not a common use case for a standard Windows user I
> think.
> Moreover I prefer to have a good interface in English rather than a partial
> / bad French translation :)
>
>>
>>
>> > And here we are talking about a functionality we already have.
>>
>> This is functionality we have in the Qt version, which most people aren't
>> using, and which is still incomplete.  I.e., it's functionality we have in a
>> version under development.
>
>
> Agreed, but it's also the first time we introduce language support so it's
> the right time to discuss this kind of thing.
>
>>
>>
>> I do not at all agree with, and will never agree with, the belief that
>> removing existing functionality is inherently wrong.  If the functionality
>> is unused, or is rarely used and if its capabilities can be achieved in
>> another way, I consider that a very good reason to consider removing it.
>
>
> I understand your point. On the other point it's really common practice (at
> least on Windows) to allow user to select the language from the GUI.
>
>>
>> > Removing it would be a big loss in my opinion.
>>
>> In what ways is it used that its disappearance would be a big loss rather
>> than, at most, a minor loss?
>
>
> For me: a minor loss as I know the environment variables allowing to
> override it. For the common Windows user, it might be a bigger loss.
>
> Pascal.
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe



-- 

Pozdrawiam / Best regards
-------------------------------------------------------------------------------------------------------------
Michał Łabędzki, Software Engineer
Tieto Corporation

Product Development Services

http://www.tieto.com / http://www.tieto.pl
---
ASCII: Michal Labedzki
location: Swobodna 1 Street, 50-088 Wrocław, Poland
room: 5.01 (desk next to 5.08)
---
Please note: The information contained in this message may be legally
privileged and confidential and protected from disclosure. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorised use, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to
the message and deleting it from your computer. Thank You.
---
Please consider the environment before printing this e-mail.
---
Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w
Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym
Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego
Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON:
812023656. Kapitał zakładowy: 4 271500 PLN