6.2 add a language--am I missing a step here?

bally - May 1, 2008 - 22:29

I'm trying to add French and Spanish translation packs but they don't seem to be recognised. I'm brand new to Drupal (chose it for the new i18n capabilities, btw ;-) and the process seems to require more than a single step, so I'm really not sure that I've done everything. The documentation I've read kind of glosses over the process, I found.

Locale module is enabled
Multilingual/i18n module is installed and enabled.

I first untarred the 2 language packs into sites/all/modules, thinking that this was the proper place. When that didn't work, I untarred into the root modules dir. But I'm still seeing:

French 17/1274 (1.33%)
Spanish 0/1274 (0%)

(the 1.33% is from the i18n module)

Do I need to use the "refresh" controls? The text on that page isn't clear at all.

For Drupal 6, untar them

cog.rusty - May 1, 2008 - 23:31

For Drupal 6, untar them straight into your Drupal installation directory. The tarballs contain files in a directory structure identical to Drupal's and will create a "translations" subdirectory under each module.

Then go to /admin/settings/language/add and add the languages.

Yes, that's where i untarred

bally - May 2, 2008 - 01:59

Yes, that's where i untarred them (I removed the ones that I'd placed in sites/all), and the langauages have been added. I can translate content, change laguages, etc. but none of Drupal's interface is translated, save for a tiny few strings (which the i18n module must be responsible for).

I've seen elsewhere a suggestion to import each .po file individually. Perhaps I'll try that. I'd love to know if this is a bug, though, or if the problem is that I'm a n00b.

solved

bally - May 2, 2008 - 02:11

The problem was that I'd added French & Spanish when the .po files were in sites/all. I moved them to the correct place but, of course, there's no way to tell Drupal to run the import (without passing it a single file at a time). So, I deleted French & Spanish and then added them again and the import worked.

Unfortunately (and not at all surprisingly), all of the translated content, while still available, has lost its links to the original English pages. I think I'll need to delete it all and recreate it.

 
 

Drupal is a registered trademark of Dries Buytaert.