Benvenuto,
Ospite
|
|
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 |
Ultima modifica: 05/07/2012 15:16 da franz.jimeno.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
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 |
Ultima modifica: 05/07/2012 15:19 da franz.jimeno.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
Facendo click su qualunque link della pagina si accetta il loro utilizzo. Per saperne di piu'