cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with error and informational messages ?

lgr
Champ in-the-making
Champ in-the-making
Many messages of the language packs contain a quote.

Sometimes, a single quote is enough, but sometimes, two single quotes must be entered in the language pack files, so that it is printed on web client interface.

For example (in webclient.properties), new_user_finish_instruction only need 1 quote to show it on screen, whereas error_person needs two single quotes to have one showed on screen.

How can we know when one quote or two must be used ?

Thanks a lot for your support,

Laurent.
1 REPLY 1

kevinr
Star Contributor
Star Contributor
If the message contains a variable e.g. {0} then single quotes must be doubled up to escape them correctly. If the message does not contain a variable then a single quote character should be used. FYI this is how standard Java messages property files work - it's not anything wierd we have done.

I will add this information into the README file for the default language pack.

Thanks,

Kevin