How to check for language contents

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
great-dane
New Member
New Member
Posts: 5
Joined: Sun Oct 11, 2009 6:06 pm

How to check for language contents

Post by great-dane »

I have a MLE site running 1.6 with DK and EN contents.

For pages where there is only english (default) contents, I would like to display a "this page only available in English" text on the page.

How do I do that ? - I mean; how can I check if a page has only contents in one language ?

Also, I have seen others comment that they can get the language indicator to show only the flags/languages that are available for the page - but that does not work at my site. Do I have to do something special in order to get it working ?

Martin ???
Last edited by great-dane on Sat Oct 17, 2009 10:38 am, edited 1 time in total.
klenkes
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: How to check for language contents

Post by klenkes »

great-dane wrote: Also, I have seen others comment that they can get the language indicator to show only the flags/languages that are available for the page - but that does not work at my site. Do I have to do something special in order to get it working ?
Under Site Admin/MLE Settings tick: Show from DEFAULT_LANG if current lang is not ready,
and all flags will always be there, AND if a language is not ready the default language is displayed.
But you want it the other way, so if the checkbox is ticked, untick it.

Your other question:
Since I don't know how and where translated content is stored an called, I honestly don't know how to check for that.

Bernd
great-dane
New Member
New Member
Posts: 5
Joined: Sun Oct 11, 2009 6:06 pm

Re: How to check for language contents

Post by great-dane »

Anybody else who has ideas as to:

>>For pages where there is only english (default) contents, I would like to display a "this page only available in English" text on the page. How do I do that ? - I mean; how can I check if a page has only contents in one language ?
alby

Re: How to check for language contents

Post by alby »

great-dane wrote: Anybody else who has ideas as to:

>>For pages where there is only english (default) contents, I would like to display a "this page only available in English" text on the page. How do I do that ? - I mean; how can I check if a page has only contents in one language ?
You can do with a UDT but you must have some skills

Alby
Locked

Return to “[locked] CMSMS MLE fork”