A fresh local installation of Drupal 7.0-alpha1 under Windows XP with Xampp.
I have tried to import a general po file generated from the localization server for the Spanish language. After some seconds, Drupal 7 reports:
* The translation file _drupal-7.0-alpha1-es.po ended unexpectedly at line 21580.
* The translation import of _drupal-7.0-alpha1-es.po failed.
If I make a po file from the local installation itself (a template with just the English strings, no translation included), when trying to import it again (so as to see if it works) Drupal reports:
* The translation file drupal.po ended unexpectedly at line 13476.
* The translation import of drupal.po failed.
In both cases, the line marked as error is the very end of the file.
Aside from that, the installation seems to be ok.
Gustavo, from Madrid
PS. After reading this issue #611786: .po file should not be considered broken if last msgstr is empty, I just added two random characters to the last msgstr (from msgstr"" to msgstr"xx") and Drupal7 swallowed the po file without a glitch. Odd, isn't it?
Comments
Comment #1
cyberwolf commentedThis one can be closed as a duplicate of #611786, which has been fixed in Drupal 7.0-beta3.