LocalisedStrings online documentation is misleading

In the documentation for juce::LocalisedStrings it says:

/*
If the strings need to contain a quote character, they can use '\"' instead,
*/

Which is correct, you can use \" in a .strings file to have a quote character within a string.

However, when viewing the documentation online the quote character has been escaped, and so it says:

/*
If the strings need to contain a quote character, they can use '"' instead
*/

Which led me to think I had to use '"' in a .strings file for quote characters, but then my translations weren’t working!

Not sure how the online documentation is generated, but if there’s a way to ensure the quote character is displayed properly as \" in the online documentation, it may well save some future poor soul a few headaches!

3 Likes