en_US), the second with the locale fr_FR.en_US.Switch to the French store.
No Javascript errors. In the header the message "Ce n'est pas vous?" should be displayed.
You get the following Javascript error: SyntaxError: missing ; before statement (at least in Firefox, the wording will vary depending on the browser used). The problem will become particularly noticable if you go to the shopping cart page (while having something in the cart) in the store for fr_FR, since the cart summary will not render correctly as a consequence of the first Javascript error.
In the file vendor/magento/module-persistent/Block/Header/Additional.php in the method _toHtml() the translation of the message "Not you?" is not escaped.
I found another occurrence in vendor/magento/module-theme/Block/Html/Header.php in the method getWelcome(). Here the translation of the welcome message is not escaped. In French it's "Message d'accueil par d茅faut".
@ktruehl thank you for your report.
Unfortunately I was not able to reproduce this problem.
Please provide some additional information like information about your environment: versions of PHP, MySQL, web server, Firefox versions. Was a new installation or upgrade from some previous version?
Please also provide screenshots for both described cases.
MySQL 5.6, PHP 7.0.8, apache, reproducible in any browser. Look at the source code. You'll see why it will have to go wrong, if the welcome message contains a single quote.
still present in 2.1.1
I've created an internal ticket MAGETWO-58020 for this issue and linked it to this one.
issue is still present in 2.1.4
@ktruehl, thank you for your report.
We've created internal ticket(s) MAGETWO-58020 to track progress on the issue.
According to comment in closed pull request this issue has been fixed in 2.2-develop branch
Most helpful comment
I found another occurrence in
vendor/magento/module-theme/Block/Html/Header.phpin the methodgetWelcome(). Here the translation of the welcome message is not escaped. In French it's "Message d'accueil par d茅faut".