How to translate

Asked by 陈梦源

How to translate the sentences which have the character like "<br />" in .po files.(e.g. The long sentences, selected from MySql database, in the setting pages.)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Paul van Dun (venigo) said :
#1

<br /> is a html code, you do not need to have it translated...

Revision history for this message
陈梦源 (397360402-6) said :
#2

I know it.

msgid "Sets whether debug information is recorded when an error occurs.<br />This should be set to \"off\" to ensure smaller log sizes"
msgstr "abc"

By the module gettext,I cant make the sentence be replaced.I have checked the code in setting.php and am sure it is right.

Revision history for this message
Dan Garner (dangarner) said :
#3

Sorry for my confusion... are you trying to translate the string in Launchpad?

Revision history for this message
陈梦源 (397360402-6) said :
#4

I am trying to translate it in Xibo Service by using the language .mo files.

Revision history for this message
Best Dan Garner (dangarner) said :
#5

It may be that the language you are using is currently incomplete.... have a look at the translations link on this site to check

If you make the translation in Launchpad, it gets included in the next version of Xibo.

Revision history for this message
陈梦源 (397360402-6) said :
#6

 I have already solved it. Thank you.