Re: Content in multiple languages

Damien <[email protected]> Mon, 12 Feb 2007 10:12:54 +0100
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hello,

The solution of your problem is very simple: just define the pages you 
want in multiple language. When you access those pages, the 
multi-language tabs will be displayed. And when you access a page 
undefined in your current language (i.e. which has no title in this 
language), you will be automatically switched to the default language 
(i.e. the first defined in the admin center).

This is due to a conditional display of the multi-language tabs in 
templates. You can see this in the quicklinks.inc file in the CorpV2 
templates:
                    // only display the link if a page is active in 
current language
                    if 
(contentPage.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,lc) ){
                        displayLink = true;
                    }

Regards,
Damien


Jyoti Gheji a écrit :
>
> Hi,
>
>  
>
> Currently Jahia enables the entire site to be viewed in multiple 
> languages on the click of the multi-language tabs.
>
> Is there anyway of viewing only the content on a page in Multiple 
> languages ?
>
>  
>
> Thanks,
>
> Jyoti Gheji
>
>  
>
> ------------------------------------------------------------------------
> ***************************************************************************************************************************
> This e-mail communication and any attachments may be privileged and 
> confidential to Hexaware and are intended only for the
> use of the recipients named above. If you are not the intended 
> recipient, please do not review, disclose, disseminate,
> distribute or copy this e-mail and attachments. If you have received 
> this email in error, please delete the same alongwith
> all attachments thereto and notify us immediately at 
> [email protected] .
> ***************************************************************************************************************************
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.411 / Virus Database: 268.17.35/680 - Release Date: 10.02.2007
>
>