[vlc-devel] [PATCH] Add possibility to translate Qt-native text via gettext

Rémi Denis-Courmont remi at remlab.net
Sun Jan 6 21:36:59 CET 2013


Le dimanche 6 janvier 2013 19:06:07, Mario Speiß a écrit :
> On 06.01.2013 12:43, Rémi Denis-Courmont wrote:
> > Le samedi 5 janvier 2013 23:21:15, Mario Speiß a écrit :
> >> This class makes all Qt-translations go through vlc gettext api (i.e.
> >> context menu of QLineEdit can be translated now with vlc po-files)
> > 
> > It sounds nice, but I don't understand how this can work. The Qt4
> > translatable strings are not in the vlc text domain.
> 
> I think the strings of all Qt-native API normally would be translated
> via compiled *.qm-files using QTranslator. Does VLC provide these
> *.qm-files for the Qt-native API (i.e. context menu of QLineEdit etc.)?

Of course not. The strings within Qt proper depend on the version and platform 
of Qt. There are no ways to include them in the VLC source code.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list