User tests: Successful: Unsuccessful:
Replaces all instances of _QQ_
in the language files with \"
as per @nikosdion comments
I am unsure that I need to also change
$strings = @parse_ini_string($contents);
to set it to use $scanner_mode = INI_SCANNER_RAW
Please advise
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings Installation Front End Plugins |
Thanks for that I will update shortly
Labels |
Added:
?
?
|
Category | Administration Language & Strings Installation Front End Plugins | ⇒ | Administration com_languages Language & Strings Installation Libraries Front End Plugins |
Do a search on <a href='
. Do you want it to be consistent and change it to <a href=\"
?
Tests should be done with debug language on.
Thanks @brianteeman and @nikosdion :)
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-09 20:04:16 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
thanks
In order to retain compatibility with Joomla! 3.x language files you should replace it with:
The
str_replace
line can be removed in Joomla! 5.0.Moreover you will have to update the documentation https://docs.joomla.org/Specification_of_language_files to reflect that double quotes are now escaped with
\"
just like anyone would expect.Moreover, since you are using INI_SCANNER_RAW, you no longer need the note about not being able to use YES, NO, TRUE, FALSE etc in values (right hand side). The RAW mode removes the parsing of such constants.