Closed (won't fix)
Project:
Drupal core
Version:
6.0
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2008 at 13:20 UTC
Updated:
15 Jun 2011 at 16:02 UTC
In a page with Content translation enabled, the 'URL path' and 'Path prefix' don't work properly.
My settings:
Comments
Comment #1
gábor hojtsyWhat's needed information here is your language negotiation settings. Please tell us about that.
Comment #2
jjalocha commentedThank you, Gábor, for your reply.
I just changed from 'Path prefix only' to 'Path prefix with language fallback', and the prefix for the default language started working immediately. I am using a default English page, with Spanish translation.
The other Issue I experienced was that sometimes the English pages were displayed with the 'es' prefix. This happened many times, but I never understood exactly how this was triggered. I think it happened somehow after opening the 'edit page' tab, but not saving any changes, and visiting the home page, which is a "fixed" page, called 'home'.
This last bug doesn't occur since I installed 'internationalization' from the i18n module.
Comment #3
ogi commentedsubscribe
Comment #4
arhak commentedWhich is the language of your browser?
I have notice that policies are giving some preferences to browser language.
BTW, when you navigate to your fixed homepage, which language do you expect the links would be?
The links can't be in both language neither guess what do you want.
I think the problem is just right there. After going to your homepage the policy for selecting a language is mis-prioritized, I mean, it's not inferring the language as expected.
I was playing around with the third option ("Path prefix with language fallback") and it states the following priorities:
- URL prefix
- User's language
- Browser's language
Which doesn't makes any sense since the user will always have a language, so the browser's language goes actually first (indeed)
About the second option ("Path prefix") it didn't worked as I expected so I took the third.
PS: Be careful when you think an English page is showing up under "es" prefix, I think it's probably a Spanish page partially translated, so there are many stuff in English.
Comment #5
dpearcefl commentedClosing this issue because of a lack of activity.