Wireshark-dev: Re: [Wireshark-dev] Is there a way to internationalize the text of dissector's p
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Fri, 6 Nov 2020 19:01:29 +0100
Hi,

It is possible, you can push a patch (with WIP status) for looking ?

On Fri, Nov 6, 2020 at 2:26 PM qiangxiong.huang <qiangxiong.huang@xxxxxx> wrote:
Hi, Alexis La Goutte

I just want to internationalize for the title and description of preference in packet-xxx.c. 
Is this possible to use glib wrapper gettext() as Guy Harris said?

------------------ Original ------------------
From: "alexis.lagoutte" <alexis.lagoutte@xxxxxxxxx>;
Date: Fri, Nov 6, 2020 03:53 AM
To: "Developer support list for Wireshark"<wireshark-dev@xxxxxxxxxxxxx>;
Subject: Re: [Wireshark-dev] Is there a way to internationalize the text of dissector's preference?

Hi Huang,

No, there is a actually no way for translate packet-xxx.c files

Cheers

On Thu, Nov 5, 2020 at 2:31 PM qiangxiong.huang <qiangxiong.huang@xxxxxx> wrote:
It seems that only qt releated code (in .cpp) can be internationalized by QString::tr().
Is there a way to internationalize the text of dissector preference which is usually set in epan/dissectors/packet-xxx.c ?

Regards,
Huang Qiangxiong


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe