Wireshark mailing list archives

Re: Is there a way to internationalize the text of dissector's preference?


From: "qiangxiong.huang" <qiangxiong.huang () qq com>
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.&nbsp;
Is this possible to use glib wrapper gettext() as&nbsp;Guy Harris said?


------------------&nbsp;Original&nbsp;------------------
From:                                                                                                                   
     "alexis.lagoutte"                                                                                    
<alexis.lagoutte () gmail com&gt;;
Date:&nbsp;Fri, Nov 6, 2020 03:53 AM
To:&nbsp;"Developer support list for Wireshark"<wireshark-dev () wireshark org&gt;;

Subject:&nbsp;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 () qq com&gt; 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:&nbsp; &nbsp; Wireshark-dev mailing list <wireshark-dev () wireshark org&gt;
 Archives:&nbsp; &nbsp; https://www.wireshark.org/lists/wireshark-dev
 Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: