Joomfish : force to display one language for a category

More
14 years 1 month ago - 13 years 11 months ago #5380 by tcherno
Hello!

Thank you very much for your help :)

I'm working on a multilingual website and need to do this:

- Display the default language content (articles and allnews module) when no translation is available (as joomfish does out of the box).

I use the "filtrate category view" to display only the content available in the current language. BUT, when - and only when - an article is not translated, I whish to display the article in the default language (if it exists).

It will be usefull for the "news" section for example.
On a standard website, informations are translated (philosophy, company, products, ...) but people do not have time to translate each news item.

If we don't want an empty news page, it would really be usefull.

Can it be done? If not, how to change this to make it work?

Thank you very much!
Last edit: 13 years 11 months ago by tcherno.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #5463 by tcherno
Hello,

Any idea?

Thank you and have a great day!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #5467 by vistamedia
FLEXIcontent doesn't function the same way as joomfish as it manage nativelly multilingual contents.
In order to do that you have to duplicate your content in another language.
Cheers,
Emmanuel.

FLEXIcontent lead developer.
www.vistamedia.fr web agency and custom development.
www.joomla.fr co-administrator.
Please no PM for support request, use the forum for that!!!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #5523 by tcherno
re,

Thank you for your answer!

As flexicontent uses joomfish, isn't there a way (even if it's not *really clean*) to display default language?

I know it may seems stupid to display french text on the english version of a website, but... better than a blank page with no informations.

If you think of a blog, or news, it makes sense.

When you have 5 languages, you can't feed every version on a every day basis. All others pages have translation except the one updated regularily.

Anyway, flexicontent really rocks!
Awesome job you've achieved.

I say, you are awesome ;)

Edit: little mistake edited.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #6979 by tcherno
Hello!

I understand the problem.

But, is there, at least, a way to pass the language variable when we are in a certain category (blog) or on an item in a this category?

Maybe a hack or something in the template?

Like "if category=blog then lang=fr"...

This is really important, as we have dozens of articles and we can't translate them. Plus people don't write in 5 language in the blog section :D Everything else is translated. But we have an empty blog section in 4 languages...

Thank you!

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #7094 by tcherno
Hello!

I changed the name of the topic. The idea is to force to display a language (french) on a category. But other menu items should still display chosen language.

Any idea? Be it php or something else.

I tried with a separate nav menu for each language, but there are problems...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.291 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline