Hi

I'm using Drupal 6.1 stable

I'd added a language in my drupal and then translated phrases into my own language. When I export it (*.po file) and try to import that .po file into a new drupal site it says:

The translation file fa2.po contains an error: "msgstr" was expected but not found on line 8434.

and when I opend that file in an editor like Dreamweaver or Notepad++ and go to that line I see something like this:

<strong>#:  modules/comment/comment.info:0
msgid "Allows users to comment on and discuss published content."
msgstr ""
"اجازه دادن به کاربران برای نظر دادن و "
"بحث کردن درمورد محتوای منتشر شده." </strong> 

and when I want to open it with "poEdit" it says that file is corrupted!

I've attached that file

Can you explain what can I do ?

CommentFileSizeAuthor
fa2.po294.14 KBtruecontact

Comments

truecontact’s picture

I'm sorry. The "{strong}" in my post is a mistake

It doesn't have that tag

dodorama’s picture

I'm experiencing something similar where some strings are written in a strange way with lots of double quotes

#:  /user/register
msgid ""
"Your password and further instructions have been sent to your e-mail "
"address."
msgstr "La password è stata inviata al tuo indirizzo e-mail."
gábor hojtsy’s picture

Version: 6.1 » 6.x-dev
Component: language system » locale.module
Status: Active » Postponed (maintainer needs more info)

This type of encoding of parts of the strings is standard in gettext .po files. @truecontact: do you still have this problem?

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response from OP, closing.