Skip to main content
21 February 2023
# Topics
Follow Us

To translators: a hint to use escaping quotes correctly

To translators: a hint to use escaping quotes correctly
04 December 2022

Here is an important article for all translators who are managing product localizations and is related to escaping quotes.

We have determined an issue in some product localizations related to escaping quotes. And if your localizations consist of such escaping quotes, the end user will get no translation due to syntax issue in archives generated by the software.

<a href="">

A normal escaping should be as:
<a href=\"\">

But if you use such a method, the final .zip archive has a risk to be converted into this line:
<a href="/_QQ_""_QQ_">

This is incorrect and the final translation will not be available to the end user due to syntax error. 

This issue may occur due to the bug in the translation software soon to be fixed, but it is better to make your translations safe.

Please use apostrophe (') instead of quote escaping.

Example in the language string:
<a href="">

You have to use this method:
<a href=''>

A note to remember
" double quotes
' single quote/apostrophe

Double quotes ( " ) should be replaced to single quote/apostrophe ( ' )

Please update your translations, if needed.

Example of the string:

date of the contest. Is displayed when the information is not set to 'Hide'."

Here are no escaping quotes - we have used apostrophe for a word 'Hide'. If your translations do not have escaping quotes, then no actions should be taken.

Good luck!

Eugene Sivokon

Product manager and Joomla enthusiast who has worked in many web development roles taking on a wide array of various projects.

# Share post
Pin it