Hi,
In Drupal 6.x, I added a second language (Greek) for the interface. In the admin settings, I set the site default language to Greek. In my account's settings, I set the default language to English, having lower weight than the Greek language. The problem is: Whatever preferred language I set in my account's settings, the site's default language always overrides it. Shouldn't the opposite stand?
Thanks.
Vasileios,
Your account settings should override the site default language. The only purpose that I'm aware of the language weights serving is for display of language items. For example they change the order the language links are displayed in the links at the bottom of a node.
A couple of considerations: 1. Of course you have to be logged in for your account settings to be in effect. 2. There's a difference between interface and content language. You are talking about interface, like what language the admin screens appear in, right? 3. One thing that might be happening is that there is basically nothing translated into Greek. Whenever the string is not found in your preferred language, you are given the English, so Drupal might be trying to give you Greek but you are getting mainly English for this reason.
What language is your browser set to (what does it tell the webserver?)
Regards, Fletch
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Vasileios Lourdas Sent: Friday, 20 March 2009 9:19 PM To: Drupal support list Subject: [support] Default language problem
Hi,
In Drupal 6.x, I added a second language (Greek) for the interface. In the admin settings, I set the site default language to Greek. In my account's settings, I set the default language to English, having lower weight than the Greek language. The problem is: Whatever preferred language I set in my account's settings, the site's default language always overrides it. Shouldn't the opposite stand?
Thanks.
Vasileios,
I happened to muck around with user language settings today and noticed some strange things. Firstly, according to the inline help information on the interface where you change the user language, this only affects which language the user receives emails in. So perhaps the behaviour you're seeing is by design.
Secondly, I set up a site with default Spanish language and nothing I do seems to cause the admin screens to be displayed in Spanish, except one item. The Spanish files claim to have been imported. It's quite weird but I don't really have time to investigate it because I don't need it right now.
Anyway I'd be interested to know what happens in your case.
Regards, Fletch www.saltwebsites.com
Hi,
On Monday 23 March 2009 13:41:23 John Fletcher wrote:
Vasileios,
I happened to muck around with user language settings today and noticed some strange things. Firstly, according to the inline help information on the interface where you change the user language, this only affects which language the user receives emails in. So perhaps the behaviour you're seeing is by design.
Secondly, I set up a site with default Spanish language and nothing I do seems to cause the admin screens to be displayed in Spanish, except one item. The Spanish files claim to have been imported. It's quite weird but I don't really have time to investigate it because I don't need it right now.
Anyway I'd be interested to know what happens in your case.
Regards, Fletch www.saltwebsites.com
Yes, I realized that too, my mistake.
So, the language the interface is displayed depends on the browser language preference? I am mostly interested in anonymous users and I don't want them to see the site's default language, but the language they have in their browser's preferences.
Thanks.