Multilingual questions - again

Creating and modifying plugins.
Post Reply
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Multilingual questions - again

Post by randulo »

Multilingual 2.3
s9y 1.2.1 (finally)

Default language FR. Most articles translated to English, too.

The multilingual is still driving me crazy for two years.
Is this behavior normal (or known bug)?

1) The general config ALWAYS reverts to English when I view the admin->config page. If I change anything, Imust remember to change from English to French.

2) As admin, I have my language as French (even though I'd prefer English). However, when I write an article, the default is Englsh and I have to find French on the menu! WTF? I just noticed, the admin remains in English no matter what language I have chosen. That must be related. What am I missing?


The language display (using choice select) seems finally to be working right, we were having problems with it before.

http://blog.chateau-palmer.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Multilingual questions - again

Post by garvinhicking »

Hi!

1.) Make sure you have disable the personal preference option "Autodetect language", because then your browser tells s9y that it should use english.

2.) The defualt language of the blog is AFAIR the default language of a new article, independent of your personal language. The plugin does not go so well if blog authors have different "default" languages than the blog itself in its default setting.

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/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Re: Multilingual questions - again

Post by randulo »

garvinhicking wrote: 1.) Make sure you have disable the personal preference option "Autodetect language", because then your browser tells s9y that it should use english.
Ok, I think I see now. First I tested with Firefox. It kept going to English. I didn't expect the language to auto-detect in admin, I would suggest you change that in the future or at least make it well-known somewhere (not just buried in this thread) because it's a surprising behavior. The language by default selected in the general config should be static, not deteced (IMO, nothing humble there).

So, here's a new behavior I didn't know about. If I log in with autodetect, naturally on a browser set for language=FR I'm in French and on one for EN I'm in EN. Again, I beg you to disable the auto-detect in admin and use the declared preference. User-declared should always override auto-detect. DO you agree? If not, I will have you punished. :)

Seriously though, I think now that I know these things, I may be able to get some sleep and I'll have answers for the users that are driving me absolutely nuts. Now if only we could solve the MS Word/Outlook HTML auto-clean problem...

My answer to confused editors:

Readers will usually see the interface in their own (browser set) language.
If you are not in French for some reason, select it as a language, click on "editer billet" (edit post) and you will be in the French admin ready to post an article which is now in French as default. When you have the translation, you can add English.

You have to admit, Garvin, that these acrobatics, if they are not an error in my own install, are wacky.

BTW, why am I not receiving post follow emails anymore? Is that turned off?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Multilingual questions - again

Post by garvinhicking »

Hi!
Ok, I think I see now. First I tested with Firefox. It kept going to English. I didn't expect the language to auto-detect in admin, I would suggest you change that in the future or at least make it well-known somewhere (not just buried in this thread) because it's a surprising behavior. The language by default selected in the general config should be static, not deteced (IMO, nothing humble there).
IMHO that's a GREAT feature! Your browser always indicates your favourite language, so why not use that? This is what the HTTP-Headers are actually meant for.

Plus, s9y does show that in the configuration AND in the installation screens. I really see no surprising behaviour in this...
So, here's a new behavior I didn't know about. If I log in with autodetect, naturally on a browser set for language=FR I'm in French and on one for EN I'm in EN. Again, I beg you to disable the auto-detect in admin and use the declared preference.
Disable it yourself. That's what the option is for :-)

Technically it's very hard to use your custom preference, because the browser one is always sent before. This way only has advantages: If you want a fixed language, you simply disable the autodetection. Else there's no easy way to use different languages depending on the browser a user is using.
BTW, why am I not receiving post follow emails anymore? Is that turned off?
You might need to check your spambin, this server has a new SMTp that it uses which might get rejected by your local SMTP.

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/
Post Reply