Add any or all of the folowing overrides to file /language/overrides/en-GB.override.ini by editing it over ftp using an application like FileZilla or cPanel File Manager.
COM_VIRTUEMART_CART_NO_SHIPPING_METHOD_PUBLIC="We are sorry, no delivery options are available for your country and type of products selected. View <a href="index.php?option=com_content&view=article&id=53&Itemid=1161&tmpl=component#delivery-restrictions" class="jcepopup" data-mediabox-height="600" data-mediabox-width="800">Delivery Restrictions."
COM_VIRTUEMART_REG_COMPLETE="<div class="componentheading">Registration complete, these details will be used at checkout. Please continue shopping."
PLG_SYSTEM_VPFRAMEWORK_COOKIE_CONSENT_MESSAGE="This website uses cookies to ensure you get the best experience on our website. Please read our <a href="https://www.trendco.co.uk/terms-and-conditions-of-use\" target="_blank">website Terms & Conditions of Use and <a href="https://www.trendco.co.uk/privacy-policy-security#cookies\" target="_blank">Privacy Policy for more information."
These new values should be appended to the language file.
All values of the language file are removed except for the following:
MOD_LOGIN_VALUE_USERNAME Username/Email
JLIB_LOGIN_AUTHENTICATE Username/email and password do not match or you do not have an account yet.
JGLOBAL_AUTH_NO_USER Username/email and password do not match or you do not have an account yet.
JGLOBAL_AUTH_INVALID_PASS Username/email and password do not match or you do not have an account yet.
COM_VIRTUEMART_USERNAME Username/Email
Joomla 3.8.12
PHP 7.0.31
These entries can be added individually using the Joomla Admin->Languages: Overrides->New function but I'm not convinced this always works (probably when "" are not escaped).
When the values are lost, it is a big task restoring the previous values one by one in this way. The quicker alternative is to edit the file using ftp and pasting all values in from a backup file but then this fails when you include values with "" so they have to be done seperately as explained above.
I have just edited the override value MOD_LOGIN_VALUE_USERNAME="Email/Email" in Joomla Admin->Language Overrides, changing it to MOD_LOGIN_VALUE_USERNAME="Username / Email" and this resulted in the overrides becoming corrupted same as Actual Result reported above.
I have attached a backup of en-GB.override taken before this occurred.en-GB.override - 20180919 - backup after problem resolved.txt
I have just repeated this with same result.
Steps:
\"
with "
.Status | New | ⇒ | Discussion |
Category | ⇒ | Language & Strings |
I can't replicate this issue wit nightly 3.9 of today. I followed all steps.
Did you clear the cache in overrides view? Maybe a db issue?
Did you check the filter setting?
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-20 05:37:53 |
Closed_By | ⇒ | infograf768 |
Absolutely no problem here. No idea what happens in your case.
You may have to totally replace the file on your host by a new one.
In any case, this is not a Joomla bug. Closing Issue.
fyi
I have been using Clear Cache throughout in trying to resolve this problem and checking the contents of table _overrider accordingly. It is currently empty with all overrides restored as per above steps.
I am familiar with the filter setting, Site / Administrator. I am only havving a problem with Site overrides.
File permissions have been checked and are correct.
I have checked the Joomla core files in /administrator/components/com_languages against the same in a new Joomla 3.8.12 package and they are all identical. There are no admin template overrides.
Joomla automatically escapes doublequotes in the values when overrides are created this way.
It works perfectly, The doublequotes should never be entered as escaped in the value.
will give
COM_VIRTUEMART_REG_COMPLETE="<div class=\"componentheading\" />Registration complete, these details will be used at checkout. Please continue shopping."
When you edit directly the file xx-XX.override.ini, the escape should be present
Your example IS wrong
PLG_SYSTEM_VPFRAMEWORK_COOKIE_CONSENT_MESSAGE="This website uses cookies to ensure you get the best experience on our website. Please read our <a href="https://www.trendco.co.uk/terms-and-conditions-of-use\" target="_blank">website Terms & Conditions of Use and <a href="https://www.trendco.co.uk/privacy-policy-security#cookies\" target="_blank">Privacy Policy for more information."
the escape sign is only entered for 2 closing doublequotes.
It should be
PLG_SYSTEM_VPFRAMEWORK_COOKIE_CONSENT_MESSAGE="This website uses cookies to ensure you get the best experience on our website. Please read our <a href=\"https://www.trendco.co.uk/terms-and-conditions-of-use\" target=\"_blank\">website Terms & Conditions of Use and <a href=\"https://www.trendco.co.uk/privacy-policy-security#cookies\" target=\"_blank\">Privacy Policy for more information."
Then, it is easy to check that override displays correctly in the override manager (without the escape signs) and no problem at all...
No bug here at all.