[opencms-dev] Adding new locale to existing site

Jonathan Woods jonathan.woods at scintillance.com
Thu Jan 29 21:52:29 CET 2009


Phil -
 
How are you fronting OpenCms?  Perhaps you could get your web server to
rewrite URLs which don't begin with a locale cue.
 
Jon


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Phil Launchbury
Sent: 27 January 2009 09:57
To: 'The OpenCms mailing list'
Subject: Re: [opencms-dev] Adding new locale to existing site



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..

 

I'm going to do it eventually but not at the moment - unless it's a
guarenteed success!

 

Cheers,

Phil

 

Phil Launchbury
IT & Support Manager
------------------------------------------------------
TSSI Systems Ltd,
Rutland House, Hargreaves Road,
Groundwell Industrial Estate,
Swindon, Wiltshire, SN25 5AZ, U.K.
Tel: +44 (0) 1793 747736

Support Helpdesk
Tel: +44 (0) 8450 707 898
Email: support at tssi.co.uk
Website: www.tssi.co.uk

'Securing Business Around the World'
------------------------------------------------------- 

From: Carl Alex Friis Nielsen [mailto:cfn at kb.dk] 
Sent: Tuesday, January 27, 2009 9:54 AM
To: Phil Launchbury; The OpenCms mailing list
Subject: SV: [opencms-dev] Adding new locale to existing site

 

Why not upgrade to 7.0.5 ?

 

Among other things, you can then move resources around without breaking
links.

 

Cheers,

 

Carl

 

Fra: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] På vegne af Phil Launchbury
Sendt: 27. januar 2009 10:39
Til: opencms-dev at opencms.org
Emne: [opencms-dev] Adding new locale to existing site

 

Hi,

 

We are adding an 'es' locale onto our existing (mature!) site (OpenCMS 6)
and have done it as follows:

 

Created the new locale (we only had 'en' beforehand).

Created a top-level folder called es

Created a top level folder called en and moved our existing content into it.

 

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!).

 

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).

 

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..

 

Help!

 

Cheers,

Phil

 

Phil Launchbury
IT & Support Manager
------------------------------------------------------
TSSI Systems Ltd,
Rutland House, Hargreaves Road,
Groundwell Industrial Estate,
Swindon, Wiltshire, SN25 5AZ, U.K.
Tel: +44 (0) 1793 747736

Support Helpdesk
Tel: +44 (0) 8450 707 898
Email: support at tssi.co.uk
Website: www.tssi.co.uk

'Securing Business Around the World'
------------------------------------------------------- 


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.
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves
Rd, Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.


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.
TSSI Systems Ltd is a company registered in England And Wales with company
number 05433732.
The TSSI Systems Ltd Registered Office address is Rutland House, Hargreaves
Rd, Groundwell Industrial Estate, Swindon, Wiltshire, SN25 5AZ.


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


More information about the opencms-dev mailing list