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.hu...@qq.com> 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.lagou...@gmail.com>; > *Date:* Fri, Nov 6, 2020 03:53 AM > *To:* "Developer support list for Wireshark"<wireshark-dev@wireshark.org>; > *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.hu...@qq.com> > 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@wireshark.org> >> Archives: https://www.wireshark.org/lists/wireshark-dev >> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev >> mailto:wireshark-dev-requ...@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-requ...@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-requ...@wireshark.org?subject=unsubscribe