JiFile for Joomla!

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

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 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

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: Default language

Default language 20 May 2016 08:44 #2192

  • marc
  • marc's Avatar
  • Fresh Boarder
  • Posts: 1
J3.5.1 / easylanguage-1.2.2

Hi, I have used your plugin before without any issue but this time I'can seem to make it work properly.

My issue is with the default language behaviour.

I'm using a cck, form2content, which outputs a regular joomla article.
In the cck form, I have fields for the default language (french) and fields for the translation (english).
When processed, the regular joomla article will have, for example:

{lang fr}french text{/lang}{lang en}english text{/lang}

In this case, no problem, it works: the french text is displayed when the website is switched in french and the english text is displayed when the website is switched to english.

my issue is, when the translation is empty, for example:

{lang fr}french text{/lang}{lang en}{/lang}

In this case the french text is displayed when the website is switched in french but nothing is displayed when switched in english.

In the plugin parameters the default language is french.

I've also tried with:

{lang default}french text{/lang}{lang en}{/lang}

but no luck.

I've done it before with the same set of components so here I'm clueless.
Any idea ?

The administrator has disabled public write access.