Welcome,
Guest
|
|
Hi,
first of all, congratulations for this awsome plugin. I'm using it and it works great. I have only one problem. I want to translate some forms generated by Fabrik (joomla component), all the translations work well except the ones in dropdowns. When I add the tags to the dropdown option, the page doesn't render and shows as a blank page. I don't know which of both components are the problem. Best regards, Franz |
Last Edit: 05 Jul 2012 15:16 by franz.jimeno.
The administrator has disabled public write access.
|
|
I solved the problem. Fabrik uses the dropdown options in Javascript and adds escape characters to the ending tag. It changes {/lang} to {\/lang}. That causes Easy Language to fail finding it.
Easy Language uses this regex in the plugins/system/easylanguage/easylanguage.php: $regex = "#{lang ".$lang_code."}(.*?){\/lang}#is"; change it to $regex = "#{lang ".$lang_code."}(.*?){(\\\/|\/)lang}#is"; This seems to solve the problem. Franz |
Last Edit: 05 Jul 2012 15:19 by franz.jimeno.
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more