gskoli has asked for the wisdom of the Perl Monks concerning the following question:

Hi to all,
Well i am using po file for language translation
In that msgid & msgstr uses Double quote
Now problem is that my Message contains double quote ,
I have used backslash as escape character but still it is not working ,
e.g. msgid "You cant Take \"This\" action "
msgstr ""
Same thing is not working in Javascript
In alert message it is not translating Message
Thanks In advance ...

Replies are listed 'Best First'.
Re: PO File Format
by almut (Canon) on Mar 02, 2010 at 12:01 UTC
    I have used backslash as escape character...

    Yes, that's the way it's normally done (if you're referring to GNU gettext .po files).

    Maybe we could help more if you could show a trimmed down but self-contained piece of code that demonstrates the problem, and lets us see what tools you're using...

Re: PO File Format
by jdporter (Paladin) on Mar 03, 2010 at 14:17 UTC
    ... not working

    What do you mean, it's not working? What commands are you executing, what results do you expect, and what results are you getting?

    Ref: PO files.

    What is the sound of Windows? Is it not the sound of a wall upon which people have smashed their heads... all the way through?
Re: PO File Format
by Anonymous Monk on Mar 02, 2010 at 14:49 UTC
    Same thing is not working in Javascript

    You know this is perlmonks, correct?