SV: [opencms-dev] mutlilanguage site

Felix Sprick felix.sprick at netlight.se
Wed Oct 18 15:49:21 CEST 2006


You can also access the content from the scriptlet API. You can do something
like that:

 

String content = cms.getContent("/[url-to-content-file], "[name of part you
want to include, e.g. “text1”", [locale]);

 

And then print out the content:

 

out.println(content);

 

Felix

  _____  

Från: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] För Sami Nygard
Skickat: den 18 oktober 2006 15:37
Till: The OpenCms mailing list
Ämne: Re: [opencms-dev] mutlilanguage site

 

Hi Volkmar,

General concept seems to be to use siblings for multilanguage sites and
control the locale in the folder properties.
See this forum entry:
http://www.opencms-forum.de/opencms-forum/viewthread?thread=1769#4501


/Sami

On Oct 18, 2006 03:13 PM, Volkmar Emberger wrote:

> Hi there,
> Is there a cms-tag for calling the other page languages in opencms?
> I have pages with free text in 2 different languages and now I want to 
> change these by clicking on a link in the frontend.
> 
> best regards
> V.Emberger
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


Sami Nygard
Wombat



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061018/e91e6359/attachment.htm>


More information about the opencms-dev mailing list