Translation of chain that contains a backslash
-
Good morning,
Thank you for this great plugin, light and very practical!
I have a problem that I can’t solve I have clearly identified the original string of the woocommerce plugin: “Collection from <address\/>” (present in the order and basket process)
I have filled in the Say What fields as follows:
Original string: Collection from <address\/>
Text Domain: woocommerce
Text content:
Replacement string: Addresse : <address\/>However, when I check on the page, the code indicates:
var say_what_data = {
“replacements”: {
“woocommerce|Collection|”: “Retrait en magasin”,
“woocommerce|Collection from <address\\\/>|”: “Adresse : <address\\\/>”
}
};We see that the string has been replaced by “Addresse : <address\\\/>” and not by “Address: <address\/>”
Which means that the translation doesn’t work…
Obviously the initial Backslash (\) of <address\/> is replaced by 3 Backslashes (\ becomes \\\)…
Do you have a solution to translate strings with backslashes?
The topic ‘Translation of chain that contains a backslash’ is closed to new replies.

