[opencms-dev] Several Languages - Howto
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Thu Oct 20 18:34:03 CEST 2005
Thanks Andreas:
Here is a short conclusion of this discussion:
http://www.pomegranate.de:9000/cms/forum/viewthread?thread=34
Kind Regards,
Arash
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Andreas Zahner
Sent: Donnerstag, 20. Oktober 2005 17:47
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] Several Languages - Howto
Sure we have:
if a folder /en/ contains siblings with different languages, and the
editors working in the /en/ folder should only be able to edit the
english content, set the following properties on the /en/ folder:
1. locale = en (you already got that)
2. locale-available = en (maybe you have to define this one)
After setting the correct folder permissions, everything should work as
expected.
Regards,
Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Corsin Camichel
Sent: Thursday, October 20, 2005 4:23 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Several Languages - Howto
Hi Uli
Ok, got it
Just tried it, and it did not work. Perhaps *@alkacon.de has any idea,
would be interessting to know.
Regards
Corsin
On 10/20/05, Uli Emmerich <2005-09-02 at web.de> wrote:
> Corsin,
>
> sure, I mean an editing person. But I did not get your answer /
> solution completely. Is it possible to arrange a multilanguage website
> with the setup your suggested (one folder tree per language, siblings
> for multilanguage content) and forbid for example the french editor to
> edit the english content by user permissons (or not allow him / her to
> change the language dropdown in the editor). I am looking for a
> solution for this problem. If you know, please describe a bit more
> extensive. Thank
you.
>
> Uli
>
> Corsin Camichel wrote:
>
> >is an editor a real person or do you mean an editor like htmlare or
> >something similiar?
> >
> >if you are talking about a "redakteur"/real person, you could allow
> >only a new created group (example called "group_de") to alter textes,
> >and overwrite inherited permissions for "User" group.
> >
> >On 10/20/05, Uli Emmerich <2005-09-02 at web.de> wrote:
> >
> >
> >>Corsin,
> >>
> >>how does this work if you want to restict each language version /
> >>directory to a different editor? Each editor would be able to change
> >>the content of all language versions.
> >>
> >>Uli
> >>
> >>
> >>Corsin Camichel wrote:
> >>
> >>
> >>
> >>>Hi Roman
> >>>
> >>>I can tell you how we did it:
> >>>
> >>>Our main language is german. So we first create a directory /de/
> >>>with the locale property de. If this page is done, with all the
> >>>textes and so on, I created a sibling of the /de/ folder with "Copy
> >>>no resource, just create siblings of all resources in the folder"
> >>>to /en/ and adjusted the the locale property. If the user need to
> >>>change a text, it does not matter if he/she is in /de/ or /en/ or
> >>>/foo/ as long as he changes the language in the editor with the
> >>>dropdown.
> >>>
> >>>You create with this for each lang. an own directory, but the text
> >>>is
"shared".
> >>>
> >>>Regards
> >>>Corsin
> >>>
> >>>--
> >>>Corsin Camichel
> >>>cocaman at gmail.com
> >>>
> >>>On 10/20/05, Uhlig, Roman <roman.uhlig at knve.de> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>So far everything looks fine, and we are enjoying working with
OpenCms.
> >>>>Except one major question we are not able to answer as OpenCms
> >>>>"newbies": Is there an easy way to handle a site with several
languages
> >>>>(with several, I mean about 5-6)? As far as we have figured it
> >>>>out,
one
> >>>>has to do the following things when adding a new language:
> >>>>
> >>>>- registering the language in opencms-system.xml
> >>>>- create a folder for that language and setting it's locale
> >>>>property
> >>>>- copy over the folder structure from an existing language
> >>>>- create siblings of all files of the existing "main language"
> >>>>
> >>>>This is quite some work to do for several languages and looks
> >>>>somehow wrong. I don't think this is necessary and would like to
> >>>>ask you, if there is an easy way to do this. The language specific
> >>>>stuff is already there in the control code of every file, so why
> >>>>would I need siblings anyway regarding
multi-language
> >>>>behaviour? Wouldn't it be great to just set the locale property of
> >>>>the root folder and derive it to the whole tree of the site?
> >>>>
> >>>>Any hints are very appreciated.
> >>>>Thanks in advance,
> >>>>
> >>>>Roman Uhlig <mailto:roman.uhlig at knve.de>
> >>>>
> >>>>------------------------------------
> >>>>Knuepfer Verlag GmbH
> >>>>Am Brauhaus 12 / Im Waldschloesschen
> >>>>01099 Dresden
> >>>>
> >>>>Tel +49 (0)351 / 8 00 70 - 0
> >>>>Fax +49 (0)351 / 8 00 70 - 70
> >>>>
> >>>>
> >>>>
> >>>>
> >>>_______________________________________________
> >>>This mail is send to you from the opencms-dev mailing list To
> >>>change your list options, or to unsubscribe from the list, please
visit
> >>>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>_______________________________________________
> >>This mail is send to you from the opencms-dev mailing list To change
> >>your list options, or to unsubscribe from the list, please
visit
> >>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>
> >>
> >>
> >
> >
> >--
> >Corsin Camichel
> >cocaman at gmail.com
> >
> >
> >_______________________________________________
> >This mail is send to you from the opencms-dev mailing list To change
> >your list options, or to unsubscribe from the list, please
visit
> >http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> >
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
--
Corsin Camichel
cocaman at gmail.com
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list