<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ES link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Hello all,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I’m new in this list. If this question has
been asked before, please forgive be, but I don’t know how to search
through the content of all the previous mails… Is there any way to do
it?? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I would like to know if any of the list has had any
experience setting up a multilanguage site.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>If so, what’s the best approach to do this?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I’ve been reading in OpenCms Wiki that:<o:p></o:p></span></font></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;font-style:italic'><o:p> </o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Tahoma><span lang=EN style='font-size:
10.0pt;font-family:Tahoma;font-style:italic'>To achieve a multi-language site
in opencms it's a good idea to create one top-level folder per language. These
top-level folders are usually named after their two-letter lowercase code as
identified by the <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes"
title="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1 list</a>,
although you can name them however you want. On each of these folders, the
locale property should be defined. This can be done by left-clicking the folder
icon and selecting properties > advanced. In the advanced properties the
locale property should be listed. All the child folders and pages will then
inherit the locale of their parent folder. If you would like a page to be
available in several locales, you start out by creating the page in one of the
locale folders, after which you create a sibling to this page in the folders of
the other locales for which you want this page to be available.<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I’m not sure I understood it, but this scares
me: should I have a page replicated X times, and the user that sets up the
information, this XML information X times (being X the number of languages)? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Can’t I just have a page in which I want to show
the content depending the Locale the user selected??? Just a JSP and just a XML
information (its information replicated X times in X fields).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><br>
For example, in my JSP:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:35.4pt'><font size=3
face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><cms:contentshow
element="Title" language=”en”/> (or it could
automatically get the language from the body)</span></font><font size=2
face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I don’t know if I explained myself.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Thank you very much!!!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>--- jordi<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>