<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle18 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle19 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
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=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=406315120-29012009><FONT face=Arial
color=#0000ff size=2>Phil -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406315120-29012009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=406315120-29012009><FONT face=Arial
color=#0000ff size=2>How are you fronting OpenCms? Perhaps you could get
your web server to rewrite URLs which don't begin with a locale
cue.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406315120-29012009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=406315120-29012009><FONT face=Arial
color=#0000ff size=2>Jon</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Phil
Launchbury<BR><B>Sent:</B> 27 January 2009 09:57<BR><B>To:</B> 'The OpenCms
mailing list'<BR><B>Subject:</B> Re: [opencms-dev] Adding new locale to
existing site<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">At the moment I don't have the
time or resources to upgrade servers.. unless I can guarentee that the upgrade
will go smoothly and without any problems at all..<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">I'm going to do it eventually
but not at the moment - unless it's a guarenteed
success!<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Cheers,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Phil<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Times New Roman','serif'">Phil
Launchbury<BR>IT & Support
Manager<BR>------------------------------------------------------<BR>TSSI
Systems Ltd,<BR>Rutland House, Hargreaves Road,<BR>Groundwell Industrial
Estate,<BR>Swindon, Wiltshire, SN25 5AZ, U.K.<BR>Tel: +44 (0) 1793
747736<BR><BR>Support Helpdesk<BR>Tel: +44 (0) 8450 707 898<BR>Email:
support@tssi.co.uk<BR>Website: www.tssi.co.uk<BR><BR>'Securing Business Around
the
World'<BR>-------------------------------------------------------</SPAN><SPAN
style="FONT-SIZE: 12pt; COLOR: #1f497d; FONT-FAMILY: 'Times New Roman','serif'">
</SPAN><SPAN style="COLOR: #1f497d"><o:p></o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Carl
Alex Friis Nielsen [mailto:cfn@kb.dk] <BR><B>Sent:</B> Tuesday, January 27,
2009 9:54 AM<BR><B>To:</B> Phil Launchbury; The OpenCms mailing
list<BR><B>Subject:</B> SV: [opencms-dev] Adding new locale to existing
site<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN lang=DA style="COLOR: #1f497d">Why not upgrade to
7.0.5 ?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=DA
style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US style="COLOR: #1f497d">Among other things,
you can then move resources around without breaking
links.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="COLOR: #1f497d">Cheers,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="COLOR: #1f497d">Carl<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=DA
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Fra:</SPAN></B><SPAN
lang=DA style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>På
vegne af </B>Phil Launchbury<BR><B>Sendt:</B> 27. januar 2009
10:39<BR><B>Til:</B> opencms-dev@opencms.org<BR><B>Emne:</B> [opencms-dev]
Adding new locale to existing site<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><SPAN lang=DA><o:p> </o:p></SPAN></P>
<P class=MsoNormal>Hi,<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>We are adding an 'es' locale onto our existing (mature!)
site (OpenCMS 6) and have done it as follows:<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Created the new locale (we only had 'en'
beforehand).<o:p></o:p></P>
<P class=MsoNormal>Created a top-level folder called es<o:p></o:p></P>
<P class=MsoNormal>Created a top level folder called en and moved our existing
content into it.<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Unfortunately this means that all the links within the
existing site are now wrong. Adding a . in front of the link cures the problem
but we really, really don't want to have go go through the whole site updating
each link individually (there are thousands of them!).<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Is there a way that we can automatically add the correct
folder prefix based on the locale? Kind of making /en/ or /es/ as the new root
of the site based on the locale of browser looking at the site. Or can we
globally find/replace to add a . in front of all the links (I thought of
WebDAV but that seems to only work in OpenCMS 7).<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Or can we make the /en/ folder into a symlink to the root
of the main site? That way all our existing content would not have to move and
we can just create the new content in the /es/ folder as
needed..<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Help!<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Cheers,<o:p></o:p></P>
<P class=MsoNormal>Phil<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman','serif'">Phil
Launchbury<BR>IT & Support
Manager<BR>------------------------------------------------------<BR>TSSI
Systems Ltd,<BR>Rutland House, Hargreaves Road,<BR>Groundwell Industrial
Estate,<BR>Swindon, Wiltshire, SN25 5AZ, U.K.<BR>Tel: +44 (0) 1793
747736<BR><BR>Support Helpdesk<BR>Tel: +44 (0) 8450 707 898<BR>Email:
support@tssi.co.uk<BR>Website: www.tssi.co.uk<BR><BR>'Securing Business Around
the
World'<BR>-------------------------------------------------------</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">
</SPAN><o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><BR>This
e-mail message (including any attachments) is from TSSI and intended for the
addressee only. It may contain information that is privileged and
confidential. If you are not the intended recipient, you must not copy,
distribute or take any action in reliance of it. If this communication has
been sent to you in error, please notify us immediately by either replying to
this e-mail or by telephoning our offices on (+44) 1793 747700. TSSI accept no
responsibility for any changes made to this message after it has been sent by
the original author. This email or any of its attachments may contain data
that falls within the scope of the Data Protection Acts. You must ensure that
any handling or processing of such data by you is fully compliant with the
terms and provisions of the Data Protection Act 1984 and 1998.<BR>TSSI Systems
Ltd is a company registered in England And Wales with company number
05433732.<BR>The TSSI Systems Ltd Registered Office address is Rutland House,
Hargreaves Rd, Groundwell Industrial Estate, Swindon, Wiltshire, SN25
5AZ.<o:p></o:p></SPAN></P></DIV><BR>This e-mail message (including any
attachments) is from TSSI and intended for the addressee only. It may contain
information that is privileged and confidential. If you are not the intended
recipient, you must not copy, distribute or take any action in reliance of it.
If this communication has been sent to you in error, please notify us
immediately by either replying to this e-mail or by telephoning our offices on
(+44) 1793 747700. TSSI accept no responsibility for any changes made to this
message after it has been sent by the original author. This email or any of
its attachments may contain data that falls within the scope of the Data
Protection Acts. You must ensure that any handling or processing of such data
by you is fully compliant with the terms and provisions of the Data Protection
Act 1984 and 1998.<BR>TSSI Systems Ltd is a company registered in England And
Wales with company number 05433732.<BR>The TSSI Systems Ltd Registered Office
address is Rutland House, Hargreaves Rd, Groundwell Industrial Estate,
Swindon, Wiltshire, SN25 5AZ.<BR></BLOCKQUOTE></BODY></HTML>