I just installed and tested the module. All I get is an endless loop. Is there anything I can do in order to gather more information?

Thanks!

CommentFileSizeAuthor
#9 1.png25.65 KBcesar.brod@gmail.com

Comments

pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

yes.

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?

crmd’s picture

For me this issue was solved by disabling the Global Redirect module. Thanks for the advice!

cesar.brod@gmail.com’s picture

There 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

pasqualle’s picture

/os-filmes, which is correctly aliased. The translation, in English (/en/os-filmes)

this 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

cesar.brod@gmail.com’s picture

Thanks 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...

pasqualle’s picture

what is the language prefix for English? admin/settings/language/edit/en > "Path prefix" field

cesar.brod@gmail.com’s picture

The prefix is "en".

Thanks!

Cesar

pasqualle’s picture

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"?

cesar.brod@gmail.com’s picture

StatusFileSize
new25.65 KB

Sorry 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"?

pasqualle’s picture

ok, the problem is with your alias. The language prefix is added automatically, you should not write the language into the alias.

cesar.brod@gmail.com’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)