Cannot change language in admin settings
Cannot change language in admin settings
I'm using 1.0 beta and most things seem to work correctly but I cannot change language in the admin section. It always sticks to English. I tested this with both (the latest) Safari and Camino 1.0 beta.
I've also forced reloading the page but it doesn't help.
I've also forced reloading the page but it doesn't help.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
How do you change the language? You must change it in your "Personal Configuration", not in the global "Configuration"!
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Cannot change language in admin settings
Sorry - I meant for the whole site and not my personal settings. I'd like to be able to post messages in both Swedish and English with Swedish as the primary language.
Hope this explains it better.
Hope this explains it better.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
If you are logged in to Serendipity, your personal language preference always overrides the global language.
So if you set "English" as your global language and "Swedish" as your personal language, the whole blog will be shown in Swedish to you. However, for other visitors, it will be shown in English. You can try that by using a different browser to visit your page, where you are not logged in.
Regards,
Garvin
So if you set "English" as your global language and "Swedish" as your personal language, the whole blog will be shown in Swedish to you. However, for other visitors, it will be shown in English. You can try that by using a different browser to visit your page, where you are not logged in.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Cannot change language in admin settings
I changed my personal language to Swedish but the global language still doesn't want to change to Swedish. Doesn't work in either browser.
Is it a bug?
Is it a bug?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
So you have this setup:
Personal Language: Swedish
Global Language: Swedish
But the blog shows up with English descriptions? What's the URL?
I do not think it's a bug, it works flawless here and many other blogs.
Regards,
Garvin
Personal Language: Swedish
Global Language: Swedish
But the blog shows up with English descriptions? What's the URL?
I do not think it's a bug, it works flawless here and many other blogs.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Cannot change language in admin settings
I cannot make Swedish "stick" as the default language in global settings. Despite saving it always shows English.
But it works for the personal settings where language=Swedish
The site is at http://dippe.info/
But it works for the personal settings where language=Swedish
The site is at http://dippe.info/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
Do other settings you change globally properly store?
Can you check your database, table "serendipity_config" and see what the "lang" version is set after saving?
Best regards,
Garvin
Can you check your database, table "serendipity_config" and see what the "lang" version is set after saving?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Cannot change language in admin settings
As far I can see there are two different "lang" settings and both are "se" which should mean that my settings are ok.
A bit strange that the popup for global language doesn't show Swedish when the user (admin) language popup does it.
Thanks for all your effort and quick replies
A bit strange that the popup for global language doesn't show Swedish when the user (admin) language popup does it.
Thanks for all your effort and quick replies
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
Did you check the HTML sourcecode of your global configuration? Maybe there the right option is selected, but your browser doesn'T show it to you.
Firefox with some extensions is known to cause such confusion, that it does not select the right value in a multi-select field.
Regards,
Garvin
Firefox with some extensions is known to cause such confusion, that it does not select the right value in a multi-select field.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Cannot change language in admin settings
Unfortunately I don't think it is a browser dependent "error". The latest tested browser is Opera (8.5) and it shows exactly the same as Safari and Camino..
The source for the global language setting shows what is written on the page
...option value="en" selected="selected">English ...
The first sticky post (http://dippe.info/) indicates that there are two pages in Swedish. The popup for choosing language when creating the post gives me two options
the default
and
Swedish
which is a bit strange since the default language is set to Swedish (but actually English is what shows up in the admin section) and I shouldn't be able to choose that option in the popup. Rather English should be the alternative
Hope this isn't too darn confusing!
The source for the global language setting shows what is written on the page
...option value="en" selected="selected">English ...
The first sticky post (http://dippe.info/) indicates that there are two pages in Swedish. The popup for choosing language when creating the post gives me two options
the default
and
Swedish
which is a bit strange since the default language is set to Swedish (but actually English is what shows up in the admin section) and I shouldn't be able to choose that option in the popup. Rather English should be the alternative
Hope this isn't too darn confusing!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
Hm, what do you get for this SQL query:
If the selected option in your configuration is "English", then there must be a database entry where the lang key is set to "en"...
Regards,
Garvin
Code: Select all
SELECT *
FROM `serendipity_config`
WHERE `name` LIKE 'lang'
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Cannot change language in admin settings
This is what I get:
name value authorid
lang se 0
lang se 1
name value authorid
lang se 0
lang se 1
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Cannot change language in admin settings
Hm, then I'm really sorry and don'T understand why english is selected, because there should be no other placer where it draws that from.
The multilingual entries can get confused if you change the default language, or manualy select the language that is your default language and enter content for it...
Regards,
Garvin
The multilingual entries can get confused if you change the default language, or manualy select the language that is your default language and enter content for it...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Cannot change language in admin settings
I think what you mentioned is exactly what happened. At first I decided English should be the default language but then when I saw the possibilities of so elegantly producing two different language versions of the same post I figured that Swedish would be a better option.
Maybe it could be useful to point out the hazards of fiddling around with the language options.
Serendipity is easy to reinstall so I'll go for that option and also since I didn't have more than a couple of posts added so far.
Maybe it could be useful to point out the hazards of fiddling around with the language options.
Serendipity is easy to reinstall so I'll go for that option and also since I didn't have more than a couple of posts added so far.