Uuups!

The navigation definition must be something like that.

<cfmodule
template="/farcry/#application.applicationname#/webskin/includes/_genericNav.cfm"
navID="#application.navid[session.myapp.language]#"
id="#session.myapp.language#" depth="2" bActive="true" bIncludeHome="true">

:)



2007/3/9, Oğuz Demirkapı <[EMAIL PROTECTED]>:
>
> I have used to create a site with multi tree.
>
> - Set tree roots as language name.
>
>    - Englısh
>    -- Home
>    -- About Us
>    ...
>    - Deutsch
>    -- Hauptseite
>    -- Über uns
>    ...
>    - Türkçe
>    -- Anasayfa
>    -- Hakkımızda
>    ...
>
> - Set a session parameter which refers to language and change on request
> with a URL parameter etc.
>
>    session.myapp.language = en_US (try to use Java locale names that you
> can use in some functions)
>
> - Set navigation root id using this session parameter. The easiest way of
> this is defining an alias as like session parameter name.
>
> <cfmodule
> template="/farcry/#application.applicationname#/webskin/includes/_genericNav.cfm"
> navID="#application.navid.home#" id="#session.myapp.language#" depth="2"
> bActive="true" bIncludeHome="true">
>
> - Try to use same templates and change static template parts by using
> session parameter.
>
> <cfswitch expression="#session.myapp.language#">
>     <cfcase value="en_US">
>         <cfinclude template="dmFooter_en_US.cfm">
>     </cfcase>
>     <cfcase value="de_DE">
>         <cfinclude template="dmFooter_de_DE.cfm">
>     </cfcase>
>     <cfcase value="tr_TR">
>         <cfinclude template="dmFooter_tr_TR.cfm">
>     </cfcase>
>     <cfdefaultcase>
>         <cfinclude template="dmFooter_en_US.cfm">
>     </cfdefaultcase>
> </cfswitch>
>
> OR
>
> <cfinclude template="dmFooter_#session.myapp.language#.cfm">
>
> - If you need, create templates for languages and use them in required
> language tree.
>
> In this way, you will have different content for different languages. This
> is not the way of having same content in different languages.
>
> There are some other methods but this way was the easiest one that I have
> ever used.
>
> I hope these helps.
>
>
> Sincerely,
>
> Oğuz Demirkapı
>
>
>
>
>
> 2007/3/8, Martin Orth < [EMAIL PROTECTED]>:
> >
> >
> > Hi,
> >
> > has anyone developed a solution to handle the editing of multilingual
> > content(dmHTML) in a single tree like mentioned in
> > http://bugs.farcrycms.org:8080/browse/FC-222 ? If not it would also be
> > helpfull to know more about other methods handling multilingual
> > content with farcry.
> >
> > Thanks
> >
> > Martin
> >
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to