Closed (fixed)
Project:
Internationalization
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2011 at 16:21 UTC
Updated:
19 Mar 2011 at 17:11 UTC
I am using a site with two languages: English and Traditional Chinese. After created a English node and I wished to add the Chinese translation by clicking "Add Translations", the URL of the link is:
http://document_root/zh-hant/node/add/event?translation=10&target=zh-hant
where nid=10. I believe "zh-hant" is the code for Traditional Chinese. But the page can never be loaded. In Firefox:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
In Safari:
Safari can’t open the page.
Too many redirects occurred trying to open “http://document_root/zh-hant/node/add/event?translation=10”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.
When I turned the Global Redirect Module off, the error was gone and translation can be added.
In the site's "Detection and Selection" for Language settings, I had enabled "URL: Determine the language from the URL (Path prefix or domain)." and "Default".
Is there another way to work around this problem rather than disabling the Global Redirect?
Thank you very much!
Comments
Comment #1
metakel commentedIt works now after applied the below patch (for the Global Redirect Module):
Infinite loop (error 310) with i18n in D7