Posted by Carlos Miranda Levy on May 18, 2007 at 7:10pm
If I export a language using the locale module's export option at admin/settings/locale/language/export, I am unable to import the translation file in other drupal sites (running on the same platform - it's a multisite deployment).
The import process stops whenever it finds a msgid_plural entry.
If I remove such entries, the import process executes successfully.
In my latest attempt, I had to remove the following entries in order to get it to work:
#: modules/comment/comment.module:304;436 modules/node/node.module:68
msgid "1 comment"
msgid_plural "@count comments"
#: modules/forum/forum.module:975;1010 modules/tracker/tracker.module:104
msgid "1 new"
msgid_plural "@count new"
#: modules/throttle/throttle.module:110 modules/user/user.module:589;592
msgid "1 user"
msgid_plural "@count users"
#: modules/aggregator/aggregator.module:986;997;1406
msgid "1 item"
msgid_plural "@count items"
#: modules/archive.module:173
msgid "1 post"
msgid_plural "%count posts"
#: modules/comment/comment.module:314
msgid "1 new comment"
msgid_plural "@count new comments"
#: includes/common.inc:993
msgid "1 byte"
msgid_plural "@count bytes"
#: includes/common.inc:0
msgid "1 year"
msgid_plural "@count years"
#: includes/common.inc:0
msgid "1 week"
msgid_plural "@count weeks"
#: includes/common.inc:0
msgid "1 day"
msgid_plural "@count days"
#: includes/common.inc:0
msgid "1 hour"
msgid_plural "@count hours"
#: includes/common.inc:0
msgid "1 min"
msgid_plural "@count min"
#: includes/common.inc:0
msgid "1 sec"
msgid_plural "@count sec"
#: modules/node/content_types.inc:391
msgid ""
"<strong>Warning:</strong> there is currently @count %type post on your "
"site. It may not be able to be displayed or edited correctly, once you "
"have removed this content type."
msgid_plural ""
"<strong>Warning:</strong> there are currently @count %type posts on "
"your site. They may not be able to be displayed or edited correctly, "
"once you have removed this content type."
#: modules/poll/poll.module:336;414
msgid "1 vote"
msgid_plural "@count votes"
#: modules/search/search.module:213
msgid "There is 1 item left to index."
msgid_plural "There are @count items left to index."
#: modules/statistics/statistics.module:92
msgid "1 read"
msgid_plural "@count reads"
#: modules/system/system.module:1406
msgid "You must enable the %dependencies module to install %module."
msgid_plural "You must enable the %dependencies modules to install %module."
#: modules/throttle/throttle.module:93
msgid "1 user accessing site; throttle enabled."
msgid_plural "@count users accessing site; throttle enabled."
#: modules/throttle/throttle.module:101
msgid "1 guest accessing site; throttle enabled."
msgid_plural "@count guests accessing site; throttle enabled."
#: modules/throttle/throttle.module:111
msgid "1 guest accessing site; throttle disabled"
msgid_plural "@count guests accessing site; throttle disabled"
#: modules/upload/upload.module:48;549
msgid "1 attachment"
msgid_plural "@count attachments"
#: modules/user/user.module:589;592
msgid "1 guest"
msgid_plural "@count guests"
#: notify.inc:239
msgid "1 new node"
msgid_plural "%count new nodes"
#: signup.module:462;892
msgid "1 individual"
msgid_plural "@count individuals"
#: signup.module:798
msgid "day"
msgid_plural "days"
Comments
Five years after same
Five years after same result.
"The import process stops whenever it finds a msgid_plural entry.
If I remove such entries, the import process executes successfully."