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

Rafaël Carré funman at videolan.org
Sun Jan 6 22:08:30 CET 2013


Le 06/01/2013 21:36, Rémi Denis-Courmont a écrit :
> 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.

Except on Windows where we do control the version and platform of Qt ?



More information about the vlc-devel mailing list