Wireshark-dev: Re: [Wireshark-dev] Is there a way to internationalize the text of dissector's p
From: "qiangxiong.huang" <qiangxiong.huang@xxxxxx>
Date: Fri, 6 Nov 2020 21:25:19 +0800
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