translation - How to use HTML inside of translatable strings in Qt? -


the qt tutorial translatable texts not mention whether possible use html inside of translatable string.

however, some examples found use it, seems possible.

however, if use "<b>text</b>" in .ts file, qt linguist not open it. displays error message "unexpected tag" instead.

the ts file xml. if want use html tags need escape them. example: <source>&lt;b&gt;text&lt;/b&gt;</source>

note recommended way of managing translations in qt run lupdate tool on source code , have qt generate .ts file, in case done automatically.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -