Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: Problem using Easy Language in Fabrik dropdowns

Problem using Easy Language in Fabrik dropdowns 04 Jul 2012 08:45 #468

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.

Re: Problem using Easy Language in Fabrik dropdown 05 Jul 2012 10:48 #469

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.