Closed (fixed)
Project:
i18nRedirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 03:24 UTC
Updated:
29 Apr 2009 at 12:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
pasqualleyes.
1. Site settings:
> a) languages?
> b) default language?
> c) your i18n settings? admin/settings/language/i18n Content selection mode
>> you may try setting this to: "Current language and language neutral."
2. Alias you are trying:
> a) The language of the alias?
> b) The language of the node?
> c) Is the alias used with a different language also?
3. Do you have any other module enabled, which makes a redirection (like Global Redirect module)? Or any other module which may cause a conflict?
Comment #2
crmd commentedFor me this issue was solved by disabling the Global Redirect module. Thanks for the advice!
Comment #3
cesar.brod@gmail.com commentedThere you go!
1. Site settings:
> a) languages? - Brazilian Portuguese, English, Spanish
> b) default language? - Brazilian Portuguese
> c) your i18n settings? admin/settings/language/i18n Content selection mode
>> you may try setting this to: "Current language and language neutral." -- This is my setting
2. Alias you are trying:
> a) The language of the alias?
> b) The language of the node?
> c) Is the alias used with a different language also?
The reason I am trying to use the module is to try to solve the problem of not having the alias working for internationalizes content. For instance, I have a node called (in portuguese) /os-filmes, which is correctly aliased. The translation, in English (/en/os-filmes) just doesn't work, although existing in the database (actually, I can give any alias name to international content, it just returns a 404 error if I don't access by the node number).
3. Do you have any other module enabled, which makes a redirection (like Global Redirect module)? Or any other module which may cause a conflict.
I tried with Global Redirect before, but not now. Also there is no other conflicting module.
Thanks!
Cesar
Comment #4
pasquallethis does not seems right at first look, as it is not common to give the same alias to nodes in different language. (example: /apfel but /en/apple). Are you using the same alias?
test questions:
1. node number of os-filmes (Brazilian Portuguese)? lets call this node/A
2. node number of the English translation of the node/A? lets call this node/B
3. the value of the alias field on the node/B/edit page? lets call this aliasB
your correct path should be /en/aliasB
Comment #5
cesar.brod@gmail.com commentedThanks for your patience, Pasqualle.
I didn't give you a good example. Let me try a real one:
node/A - http://www.mundolinux.com.br/os-filmes/produção/longas/3-efes - Brazilian Portuguese - node/9
node/B - http://www.mundolinux.com.br/en/the-movies/production/feature-films/3efes - English translation - node/526
For node/B, is I use the alias, I get the 404 error. For node/A, the alias works fine. Of course, I can access both by the node number.
Hope this will let us research a little further...
Comment #6
pasquallewhat is the language prefix for English? admin/settings/language/edit/en > "Path prefix" field
Comment #7
cesar.brod@gmail.com commentedThe prefix is "en".
Thanks!
Cesar
Comment #8
pasqualle1. can you post a screenshot of the path edit form of the node/526 ?
> on /admin/build/path find node/526 and click on the edit link
2 on /admin/settings/language/configure do you have "Path prefix only"?
Comment #9
cesar.brod@gmail.com commentedSorry for the long time before answering. I was waiting for an opportunity for performing a full backup before trying your #2 suggestion.
1. can you post a screenshot of the path edit form of the node/526 ?
> on /admin/build/path find node/526 and click on the edit link
2 on /admin/settings/language/configure do you have "Path prefix only"?
Comment #10
pasqualleok, the problem is with your alias. The language prefix is added automatically, you should not write the language into the alias.
Comment #11
cesar.brod@gmail.com commented