This is the main task to follow up on the Drupal 5 upgrade.
For now:
- Added info modules
- Fixed major Drupal 4.7 - Drupal 5 changes

TO-DO:
- Fix some form problems in translation.module
- Usability improvements

Comments

sammys’s picture

Title: Ugrade for Drupal 5 » Upgrade for Drupal 5

Bumping this onto my issue queue

michaelangela’s picture

I'm very very very very sorry I don't have a patch file for this. We're in the middle of a mad huge crunch and I may not even be in the right place. Long night (writing from Taipei). And this is a minor issue but maybe it'll help someone else if a stopgap fix is needed as it is in our case.

There is an warning thrown when choosing the "create new account" on our install of Drupal 5.0 Beta 1 and Beta 2. It appeared because apparently in line 137 in the i18nprofile_form_translate_all function of i18nprofile.module, it calls

$categories = profile_categories()

In our case we don't have any profile categories. Profile_categories does a SQL query which, since we don't have any profile catetories, was returning nothing, which through the warning for the foreach.

I only added an IF block around the whole thing:

if($categories = profile_categories()) {
}

If nothing is returned, nothing is translated, no warning is issued.

I am really sorry I don't have a patch yet. Working feverishly. When we get through this weekend I can try to submit it next week.

Thanks for the awesome work on i18n!

jose reyero’s picture

Status: Active » Closed (fixed)

This module is 100% upgraded for latest Drupal version. The forms and help pages have also been improved.

There are also some new features like:
- Improved language handling. Native name and LTR now web configurable
- Reworked multilingual variable management. Much cleaner now.
- Completed the profile translation functionality
- Automatic term translation when creating node translations
- Per language menu items

So we can say the main upgrade is done. Now we'll be taking care of the bugs that show up, improving documentation and there may be some new features in the next weeks...