Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] QtShark Translation

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 5 Mar 2012 15:45:09 +0100
On Sun, Mar 04, 2012 at 08:21:14PM +0100, Alexis La Goutte wrote:
> I realized a patch to add the i10n version of QtShark. The goal is only to
> translate the Gui (not dissector)
> Actually, there is only a french translations !
> 
> To test, launch qtshark with LANG=fr ./qtshark (in ui/qt folder)
> 
> For make your own translation! it is easy !
> 
>    - Add your translation (wireshark_XX.ts) in QtShark.pro
>    - Launch lupdate QtShark.pro to generate/update your translation file
>    - Translate with Qt Linguist
>    - Launch lrelease QtShark.pro to create/update wireshark_xx.qm file

OK, some summary feedback (we talked about some of this already):
- please rename wireshark_XX.ts to qtshark_XX.ts as the executable is
  name qtshark.
- please rename i10n.qrc to i18n.qrc
- what is the use of i10n.qrc anyway (couldn't find it in any examples

> More information about Qt Translation is available in
> http://qt-project.org/doc/qt-4.8/linguist-manual.html

- Please add the stuff to README.qt

> It missing some feature :
> * Add preference to select(force) your language

Might make sense as some people would prefer the Enligsh GUI even if the
rest of the applications are in their netive language.

> * Support of Cmake

I'm working on it - but it isn't working (same as you found out) so far.

> * Some text it is no available for translation...

I don't understand this one :)

How about committing this soon'ish?

 Ciao
    Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.