[opencms-dev] Another multi-language question

Sebastian Himberger sebastian.himberger at gmx.de
Sun Jan 31 19:42:54 CET 2010


Hi,

I alwas discourage simply copying a folder to create a new language. I would create siblings but name the resources in the new language. For example:

 en/aboutus.html
 de/ueberuns.html

This way you get better results in search engines since the URL plays a big part in the ranking. You can then implement a language switch based on the sibling and not the URL.

Best regards,
Sebastian

--------------------------------
http://www.sebastian.himberger.de/blog/tag/opencms/


On Jan 30, 2010, at 6:10 PM, Ludwig wrote:

> Hi Yves,
> 
> thanks for you response!
> 
> Yes, one problem is that you have to re-recreate the resources. But in our particular case we have got another problem. What we do is developing a template that will be the basis for 20-30 different sites. Different teams will make slight design changes etc. for each site. It would be unsatisfying for them to repeat all design changes for each language in each of these sites. :-(
> 
> So, siblings would be a better option, in our case.
> 
> All the best!
> Ludwig
> --
> Ludwig Hunecke
> Kramerstr. 19
> D-38122 Braunschweig
> Tel.: +49 (151) 14818950
> GnuPG Key-ID: 8CEAB267
> 
> Am 30.01.2010 um 23:58 schrieb Yves Glodt:
> 
>> 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
>> 
>> 
>> _______________________________________________
>> 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
> 
> 
> _______________________________________________
> 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