I tried to install the translation but I had a redirection error.

Comments

nedjo’s picture

Since Open Outreach has no special language handling, the issue you're having likely is related to installing Drupal in another language rather than being specific to Open Outreach.

Did you start with the steps here: http://drupal.org/localize ? Please look to the links on that page for tips and troubleshooting ideas.

nedjo’s picture

Status: Active » Postponed (maintainer needs more info)
wusel’s picture

Priority: Normal » Major
Status: Postponed (maintainer needs more info) » Active

After Install of 7.x-1.0-beta8 I add German language as usual and then I always get the path to

http://127.0.0.1/openoutreach/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/

I think there is a redirect to /de, which I have NOT set.

Please help, how to unset that redirect.

wusel’s picture

Title: Open outreach fail when install spanish translation » Open outreach fails when install german or spanish translation or german language
Version: 7.x-1.0-beta7 » 7.x-1.0-beta8

Now I want to make an new install of the website with the language german (XAMPP 1.7.7 on Window 7 64bit).
So I delete the database and the file settings.php, to build a new site.

Then I create a new directory \profiles\openoutreach\translations\ and then I copy the german language file to \profiles\openoutreach\translations\drupal-7.12.de.po.
Then I start the installation in german language.
I use the defaults of installation, only "Deutschland" (Germany) and "Europe/Berlin" are non-defaults.

When the installation is at the end, I go to the homepage.
Now I always get the path to
http://127.0.0.1/openoutreach/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/

Something is wrong.
Please help soon.

nedjo’s picture

There are many potential sources of infinite redirects when using multiple languages or internationalization. You could try searching for related issues. I don't offhand recall anything custom we're doing on Open Outreach that would be likely to trigger this issue.

I'll have a look at this when I get a chance--not within the next few days.

wusel’s picture

I have tested this carefully.

I have installed 7.x-1.0-beta8.

My further steps:
1. enable module "lokale".
2. add a second language like "German (Deutsch)".
The webpage is now still in english and there is no error.
3. when I set the default to "German".
Now I get error like #4.

This proceeding is on all my other test-websites with drupal7 ok. Only here I get this error. The error comes from this distribution.

Who can help with a tip??? Please!

Robin Millette’s picture

@wusel disabling globalredirect will probably help for now.

wusel’s picture

@Robin Millette:
Thank you for your tip.

The German language ist installed. The Default-Language is English.
Now I have first to disable "Debut SEO", then I can disable "Global Redirect".
Then I uninstall both.
Then I flush all caches.
Then I visit http://example.com/admin/config/regional/language and set the Default-Language to "German".

That's it. NO error. Beautiful.

@nedjo:
The error can be in one of this modules ("Debut SEO" and "Global Redirect") or their (e.g. missing) configuration.
When the Default-Language differs from English, then something is wrong.

wusel’s picture

Status: Active » Needs work
Robin Millette’s picture

Status: Needs work » Active

Setting back to "active" status, since no patch is available yet.

nedjo’s picture

This looks to be a duplicate of #1378690: Update to 7.x-1.4 adds duplicate language prefixes, causing a redirection loop, which reportedly is fixed in the dev release of global_redirect. I'll try switching to dev to prevent this issue.

nedjo’s picture

Status: Active » Fixed

rosemarymann fixed by switching to dev release of global redirect. Working on getting a new release out with this and other fixes.

wusel’s picture

Version: 7.x-1.0-beta8 » 7.x-1.0-rc1
Status: Fixed » Active

I have done a fresh install after I copied the german language-file to "xxxxxxx\profiles\openoutreach\translations\drupal-7.14.de.po" and selected the german language during install.
I use the defaults of installation, only "Deutschland" (Germany) and "Europe/Berlin" are non-defaults.
Then I have seen the page with the german translation of "Congratulations, you installed Open Outreach! Visit your new site."
Then I have clicked on the homepage-link.
Now I always get the path to something like
http://127.0.0.1/openoutreach/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/de/

When the Default-Language differs from English, then something is wrong (like comment #4 and #8).
Please help soon.

nedjo’s picture

Title: Open outreach fails when install german or spanish translation or german language » Open outreach fails when installing in a language other than English

@wusel: thanks for reporting that. We'd updated the .make.inc file in debut_seo but forgot to updated it also in the Open Outreach .make file. (We've had to temporarily duplicate .make file data until #1427752: Support drush make includes[] in drupal-org.make files is fixed.)

I've applied a fix and updated the project page with a note about installing in a language other than English.

nedjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

wusel’s picture

Status: Closed (fixed) » Fixed

Thanks.

The dev from 2012-Jun-05 works with german language without this error!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.