[opencms-dev] Another multi-language question

Roman Uhlig Maxity.de roman.uhlig at maxity.de
Mon Feb 1 11:29:32 CET 2010


 
> Copy /en/ to /de/, not as siblings, but as new resources. The
advantage is that you can publish the content independent from the
language. The disadvantage is that you have to manually create new files
for both languages.

Wouldn't you have to create it manually anyway? No matter if it's a
sibling or an independent resource?
Or is there an automated mechanism I missed?

Roman

 

________________________________

Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Yves Glodt
Gesendet: Samstag, 30. Januar 2010 23:58
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Another multi-language question


Hi,

I can add an approach 3:

Copy /en/ to /de/, not as siblings, but as new resources.
The advantage is that you can publish the content independent from the
language. The disadvantage is that you have to manually create new files
for both languages.


On 30 January 2010 23:04, Ludwig <ludwig.hunecke at googlemail.com> wrote:


	Dear list,
	
	I have got a question regarding multi language sites. I googled
but didn't find an appropriate solution :-(
	
	Situation: Site has been developed in english. Now a german
translation should be done.
	Approach I:
	
	1. Copy /en/ folder to /de/ (via siblings)
	2. Change locale property in /de/ to "de,en"
	
	Result: The page comes up, appearance (style) like in english,
but the boxes left/right are missing. Content in the middle column is
shown correctly.
	
	Approach II:
	
	Step 1. & 2. like in Approach I
	Step 3. Change "style.config" from "/en/_config_/config" to
"/de/_config_/config". (Repeat this also for options etc.)
	
	Result: Looks like in approach I, but now also the style is
completely lost and everything looks like if there had be no style
adjustments.
	
	
	Possible reason: Even though I have specified "de,en" as locale
property for the /de/ folder, I think OpenCms doesn't  use "en" as
locale for the style.config. It tries to read the german language
variant, doesn't find anything there (what's correct) and so it shows
nothing.
	
	
	Do you have got an idea?
	
	Thanks a lot!!
	Ludwig
	
	
	PS: OpenCms 7.5.0, Java 6, Linux 32bit
	
	
	_______________________________________________
	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
	





More information about the opencms-dev mailing list