I get the following error when trying to import the Spanish translation into Drupal 6.6 via admin/build/translate/import.

---
* For security reasons, your upload has been renamed to es-6.x-1.2.tar_.gz.
* The language Spanish has been created.

* The translation file es-6.x-1.2.tar_.gz contains a syntax error on line 1.
* The translation import of es-6.x-1.2.tar_.gz failed.
---

When I try to use admin/settings/language/add it seems to import the translations but the interface is not actually translated. I see a few spanish words here and there on es/* put it is still mostly(almost entirely) in english.

The transaltion import is essentially not working at all under a clean Drupal 6.6 site. Is this a know issue? Please let me know what I can do/provide to resolve the issue.

Comments

ñull’s picture

Status: Active » Closed (works as designed)

I don't think this a bug. The tar.gz is a compressed file and should be unpacked in the document root of Drupal, leaving intact the whole folder hierarchy . Then you add the language (without import) in /admin/settings/language/add. Drupal will notice the po files that are now in it's install tree and will import the translation into the database.

I have to admit that documentation of D6 is not very clear about it.