vita_de Posted June 25, 2013 Share Posted June 25, 2013 Hello. WidgetLabel with a child element, not being translated. Tell me how to get around, you need a text style translation.rar Link to comment
silent Posted July 2, 2013 Share Posted July 2, 2013 Hi, I'm afraid only way for now is to escape XML-tags and add this full string to the dictionary: <?xml version="1.0" encoding="utf-8"?> <dictionary version="1.00"> <msg> <src>IDS_STRING</src> <tr>String is demo</tr> </msg> <msg> <src><center>IDS_STRING</center></src> <tr><center>String is demo</center></tr> </msg> <msg> <src><font color="#ff00ff">IDS_STRING</font></src> <tr><font color="#ff00ff">String is demo</font></tr> </msg> <msg> <src><font size="10">IDS_STRING</font></src> <tr><font size="10">String is demo</font></tr> </msg> </dictionary> Sorry for the inconvenience. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
frustum Posted July 3, 2013 Share Posted July 3, 2013 The other options is to use "<![CDATA[]]>" XML tag: <?xml version="1.0" encoding="utf-8"?> <dictionary version="1.00"> <msg> <src><![CDATA[<font color="#ff00ff">IDS_STRING</font>]]></src> <tr><![CDATA[<font color="#ff00ff">Translation</font>]]></tr> </msg> </dictionary> Link to comment
Recommended Posts