Hi,

My site default language (admin/settings/language) is set to Thai and in Language negotiation settings I have "Path prefix with language fallback".

For anonymouse users, the switcher link for English points to http://localhost/, which would get displayed in Thai because the site default language is Thai.

For a logged in user who has default language set to Thai in user/xxx/edit, the switcher link for English also points to http://localhost/, which would get displayed in Thai because the default language is Thai.

So, there seems to be no way to switch the interface to English for these users. Am I doing something wrong or is this a bug?

Comments

danoguru’s picture

I have the same problem, it seems that if you have a multi language site, you still have to use English as the default language, since english has not a language string ("en"). If you select language negotiation "only path prefix" it will let users to really choose a language, instead of falling back to browser language or user defined language.

But this is not a solution to this problem, since I want another language to be default. When I choose german as default language it will be selected both in "http://www.example.com/" and "http://www.example.com/de".

Questions: How can I have a multi-language-site (using i18n mudule) with default language other than english.

thanx for help in advance!

danoguru’s picture

ok, I solved this issue by adding a path prefix for english

http://www.example.com/en/admin/settings/language/edit/en

betancourt’s picture

Category: support » bug

Thanks for the help. It solved my issue

damien tournoud’s picture

Category: bug » support
bbenone’s picture

Version: 6.8 » 6.15
Category: bug » support

Ah, thanks for that suggestion. It worked for me too. I spun my wheels for hours trying to figure this one out.

This really should just be set automatically. I'm helping a friend with their site which was deployed in Spanish, and has been translated to English, French & German. The English translation was not available, unless you created an account and then set your account default language to English. Anonymous users browsing the site (99% of the hits) had no way to switch to English; but they could to any other language. Makes no sense.

Also, as far as I can tell, having this set automatically wouldn't hurt anyone, as it could be ignored for those that have their default language set as English.

It's still occurring as of 6.15, so I am updating the version number on this issue.

jmroth’s picture

Version: 6.15 » 6.6
Category: support » bug

Yep this definitely would need to be fixed. (-> add path prefix for english to standard installation)

jmroth’s picture

Version: 6.6 » 6.15

Ups well I have the problem in 6.6 but I believe you it is still there in 6.15 ;-)
Reverting...

dddave’s picture

Category: bug » feature
Status: Active » Closed (won't fix)

Adding the path prefix would be a nice thing for sure and it would prevent dozens of support requests and issues a week. However this would be a feature request (this isn't a bug) and D6 won't get any new features. Any feature requests have to be against D8 at the moment (as D7 is feature frozen) and I think this problem is solved by then.

So this issue can be closed.

guti’s picture

There is a serious drawback to this solution: you lose the ability to browse the website in the standard language without always hving the /en language prefix in the path.
Also, the content of www.example.com and www.example.com/en will be identical, resulting in reduced search engine ranking due to duplicate content.