Multilingual setup

Author Message

Robin Muilwijk

Friday 15 December 2006 1:28:25 am

Hi,

I'm totally new on eZ publish. I'm kinda evaluating the CMS, see if I can use it for personal site and other projects.

What I'm interested in is using at as a multilingual site. I have read http://ez.no/ezpublish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site and treid setting up an English/Dutch site.

However, when calling such a site like http://localhost/ezpublish/index.php/en (or nl) i'm getting a kernell 50 error, unable to connect to database.

What am I doing wrong?

Another related question; how do you create a language selection on the top right of your frontpage such as the ez.no site has? I saw the code in the comments of that article linked above, but I have no idea where to put that.

Thanks and regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 1:38:05 am

Hi Robin

This article contains more info about multilingual setup (especially the language switcher section at the end).
http://ez.no/community/articles/new_features_in_ez_publish_3_8/translating_and_displaying_multi_lingual_content

The problem with the database error is most likely that the site.ini of your siteaccesses en and nl do not contain any database settings. Check the site.ini of the siteaccess that was created during installation, there should be a block [databasesettings] there. Either copy this block into the site.ini of each siteaccess or put it in the site.ini of the override folder.

If you still have problems, post again, but then also please post the site.ini of e.g your 'en' siteaccess (don't forget to remove any passwords).

Greetings from Luxembourg

Claudia

Robin Muilwijk

Friday 15 December 2006 1:49:27 am

Thanks for the quick reply Claudia. Going to check those steps from the article and see if I can get it to work.

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Robin Muilwijk

Friday 15 December 2006 2:38:11 am

Hi,

I keep getting access denied on the "nl" site, "en" works okay. How can that be? What kind of info or setting file do you need to see the problem?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 2:52:33 am

Hi Robin

did you give the anonymous user permission to access the siteaccess nl?

Claudia

Robin Muilwijk

Friday 15 December 2006 2:59:52 am

Yep, even set it to Any, so no limitations. Still getting access denied. There is nothing else that I need to check?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Claudia Kosny

Friday 15 December 2006 3:47:12 am

Hi Robin

Hmm, check whether you have a setting RequireUserLogin in the block [siteaccesssettings] of the site.ini of the 'nl' access. Make sure you have cleared all the cache and then try again.

Theoretically the [rolesettings] in the site.ini could also cause this problem, but these settings should be fine unless you changed them (usually this block is only in the general site.ini in the settings folder, don't change anything there).

BTW: If you EZ 3.9 I can't help you - I haven't looked at it yet so I don't know what settings there are in this version.

Claudia

Robin Muilwijk

Friday 15 December 2006 4:38:53 am

Hi,

RequireUserLogin was there, but set to false. Removing it, removes the Denied Access error, but now the hompage does not show the folder description which is showing in the english version. Does that mean my translation of that folder is incorrect?

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Robin Muilwijk

Friday 15 December 2006 4:50:50 am

I keep seeing the user login in the content area. No idea whats causing it...

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.