[sip-comm-dev] problem with coversion cs.po -> properties (not fully converted)


#1

Hi

I have fully translated po file "cs.po", and I would like to convert it to
properties file locally. If I use command

po2prop --personality=mozilla -t resources.properties cs.po
resources_cs.properties

suggested by Martin André, some sentences stay untranslated in generated
"resources_cs.properties" file, even if they are transtated in "cs.po" file.
The same problem is probably on pootle server since I have uploaded the
"cs.po" and commited it, but in application only some expressions are
translated.

Thanks for help.


#2

Strange, indeed. Can you send me the po file, I'll try to have a closer look.

Cheers,
Martin

···

On 03/29/2010 10:42 PM, Radek Terber wrote:

Hi

I have fully translated po file "cs.po", and I would like to convert it
to properties file locally. If I use command

po2prop --personality=mozilla -t resources.properties cs.po
resources_cs.properties

suggested by Martin Andr�, some sentences stay untranslated in generated
"resources_cs.properties" file, even if they are transtated in "cs.po" file.
The same problem is probably on pootle server since I have uploaded the
"cs.po" and commited it, but in application only some expressions are
translated.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi
I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

cs.po (99.2 KB)

···

2010/3/30 Martin André <mandre@dev.java.net>

On 03/29/2010 10:42 PM, Radek Terber wrote:

Hi

I have fully translated po file "cs.po", and I would like to convert it
to properties file locally. If I use command

po2prop --personality=mozilla -t resources.properties cs.po
resources_cs.properties

suggested by Martin André, some sentences stay untranslated in generated
"resources_cs.properties" file, even if they are transtated in "cs.po"
file.
The same problem is probably on pootle server since I have uploaded the
"cs.po" and commited it, but in application only some expressions are
translated.

Strange, indeed. Can you send me the po file, I'll try to have a closer
look.

Cheers,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

To be yet more exact, when I uploaded fully translated "cs.po" to pootle
server, verified it using server's tools, commited to SVN, downloaded back
to my PC, and then generated "resources_cs.properties" file from them, the
prop file did not contain some parts (i suppose the untranslated parts). The
downloaded "cs.po" file contained some parts commented out (the parts with
duplicit texts).
When I re-created "cs.po" from properties and filled out it using previously
translated file (by simple script), and generated props from them, the prop
file contained all texts, but some of them remained untranslated (they was
in english).

···

2010/3/30 Radek Terber <rate.lists@gmail.com>

Hi
I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

2010/3/30 Martin André <mandre@dev.java.net>

On 03/29/2010 10:42 PM, Radek Terber wrote:

Hi

I have fully translated po file "cs.po", and I would like to convert it
to properties file locally. If I use command

po2prop --personality=mozilla -t resources.properties cs.po
resources_cs.properties

suggested by Martin André, some sentences stay untranslated in generated
"resources_cs.properties" file, even if they are transtated in "cs.po"
file.
The same problem is probably on pootle server since I have uploaded the
"cs.po" and commited it, but in application only some expressions are
translated.

Strange, indeed. Can you send me the po file, I'll try to have a closer
look.

Cheers,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi Radek,

Some of the strings are not translated in the po file you sent. Is it the good one?

Martin

···

On 03/30/2010 06:51 PM, Radek Terber wrote:

Hi
I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

2010/3/30 Martin Andr� <mandre@dev.java.net <mailto:mandre@dev.java.net>>

    On 03/29/2010 10:42 PM, Radek Terber wrote:

        Hi

        I have fully translated po file "cs.po", and I would like to
        convert it
        to properties file locally. If I use command

        po2prop --personality=mozilla -t resources.properties cs.po
        resources_cs.properties

        suggested by Martin Andr�, some sentences stay untranslated in
        generated
        "resources_cs.properties" file, even if they are transtated in
        "cs.po" file.
        The same problem is probably on pootle server since I have
        uploaded the
        "cs.po" and commited it, but in application only some
        expressions are
        translated.

    Strange, indeed. Can you send me the po file, I'll try to have a
    closer look.

    Cheers,
    Martin

    ---------------------------------------------------------------------
    To unsubscribe, e-mail:
    dev-unsubscribe@sip-communicator.dev.java.net
    <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
    For additional commands, e-mail:
    dev-help@sip-communicator.dev.java.net
    <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hi Radek,

I finaly found some time to look at your file and found the reason why not all strings get into the .properties file. It appears that your po file is broken (there are extra msgstr at line 2450 and 2557). Removing these line make things lot better. I've already uploaded a fixed po at translate.sip-communcator.org.

Cheers,
Martin

···

On 03/30/2010 06:51 PM, Radek Terber wrote:

Hi
I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

2010/3/30 Martin Andr� <mandre@dev.java.net <mailto:mandre@dev.java.net>>

    On 03/29/2010 10:42 PM, Radek Terber wrote:

        Hi

        I have fully translated po file "cs.po", and I would like to
        convert it
        to properties file locally. If I use command

        po2prop --personality=mozilla -t resources.properties cs.po
        resources_cs.properties

        suggested by Martin Andr�, some sentences stay untranslated in
        generated
        "resources_cs.properties" file, even if they are transtated in
        "cs.po" file.
        The same problem is probably on pootle server since I have
        uploaded the
        "cs.po" and commited it, but in application only some
        expressions are
        translated.

    Strange, indeed. Can you send me the po file, I'll try to have a
    closer look.

    Cheers,
    Martin

    ---------------------------------------------------------------------
    To unsubscribe, e-mail:
    dev-unsubscribe@sip-communicator.dev.java.net
    <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
    For additional commands, e-mail:
    dev-help@sip-communicator.dev.java.net
    <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#7

Hi,

yes, this is OK - it is only few words, I did not find good czech equivalent
for that yet.

···

2010/3/31 Martin André <mandre@dev.java.net>

Hi Radek,

Some of the strings are not translated in the po file you sent. Is it the
good one?

Martin

On 03/30/2010 06:51 PM, Radek Terber wrote:

Hi

I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

2010/3/30 Martin André <mandre@dev.java.net <mailto:mandre@dev.java.net>>

   On 03/29/2010 10:42 PM, Radek Terber wrote:

       Hi

       I have fully translated po file "cs.po", and I would like to
       convert it
       to properties file locally. If I use command

       po2prop --personality=mozilla -t resources.properties cs.po
       resources_cs.properties

       suggested by Martin André, some sentences stay untranslated in
       generated
       "resources_cs.properties" file, even if they are transtated in
       "cs.po" file.
       The same problem is probably on pootle server since I have
       uploaded the
       "cs.po" and commited it, but in application only some
       expressions are
       translated.

   Strange, indeed. Can you send me the po file, I'll try to have a
   closer look.

   Cheers,
   Martin

   ---------------------------------------------------------------------
   To unsubscribe, e-mail:
   dev-unsubscribe@sip-communicator.dev.java.net
   <mailto:dev-unsubscribe@sip-communicator.dev.java.net>

   For additional commands, e-mail:
   dev-help@sip-communicator.dev.java.net
   <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#8

Hi,

any progress wit this? Am I wrong in something? I did not work with gettext
never before, i have no experience with *po* tools. Therefore I could do
something wrong...
I tried ask mr. Google, but I did not find suitable results. Is this only my
problem?
Thanks.

···

2010/3/31 Radek Terber <rate.lists@gmail.com>

Hi,

yes, this is OK - it is only few words, I did not find good czech
equivalent for that yet.

2010/3/31 Martin André <mandre@dev.java.net>

Hi Radek,

Some of the strings are not translated in the po file you sent. Is it the
good one?

Martin

On 03/30/2010 06:51 PM, Radek Terber wrote:

Hi

I attached the cs.po here.

To be exact, the untranslated parts of "cs.po" are missing in generated
"resources_cs.properties" (there are not original english texts neither
czech translations in the prop file).

2010/3/30 Martin André <mandre@dev.java.net <mailto:mandre@dev.java.net
>>

   On 03/29/2010 10:42 PM, Radek Terber wrote:

       Hi

       I have fully translated po file "cs.po", and I would like to
       convert it
       to properties file locally. If I use command

       po2prop --personality=mozilla -t resources.properties cs.po
       resources_cs.properties

       suggested by Martin André, some sentences stay untranslated in
       generated
       "resources_cs.properties" file, even if they are transtated in
       "cs.po" file.
       The same problem is probably on pootle server since I have
       uploaded the
       "cs.po" and commited it, but in application only some
       expressions are
       translated.

   Strange, indeed. Can you send me the po file, I'll try to have a
   closer look.

   Cheers,
   Martin

   ---------------------------------------------------------------------
   To unsubscribe, e-mail:
   dev-unsubscribe@sip-communicator.dev.java.net
   <mailto:dev-unsubscribe@sip-communicator.dev.java.net>

   For additional commands, e-mail:
   dev-help@sip-communicator.dev.java.net
   <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#9

Hi Radek,

Sorry, I'm busy with other things right now and haven't yet found the time to look at your issue. I'll try to have a look at it early next week.

Cheers,
Martin

···

On 04/02/2010 04:08 PM, Radek Terber wrote:

Hi,

any progress wit this? Am I wrong in something? I did not work with
gettext never before, i have no experience with *po* tools. Therefore I
could do something wrong...
I tried ask mr. Google, but I did not find suitable results. Is this
only my problem?
Thanks.

2010/3/31 Radek Terber <rate.lists@gmail.com <mailto:rate.lists@gmail.com>>

    Hi,

    yes, this is OK - it is only few words, I did not find good czech
    equivalent for that yet.

    2010/3/31 Martin Andr� <mandre@dev.java.net
    <mailto:mandre@dev.java.net>>

        Hi Radek,

        Some of the strings are not translated in the po file you sent.
        Is it the good one?

        Martin

        On 03/30/2010 06:51 PM, Radek Terber wrote:

            Hi

            I attached the cs.po here.

            To be exact, the untranslated parts of "cs.po" are missing
            in generated
            "resources_cs.properties" (there are not original english
            texts neither
            czech translations in the prop file).

            2010/3/30 Martin Andr� <mandre@dev.java.net
            <mailto:mandre@dev.java.net> <mailto:mandre@dev.java.net
            <mailto:mandre@dev.java.net>>>

                On 03/29/2010 10:42 PM, Radek Terber wrote:

                    Hi

                    I have fully translated po file "cs.po", and I would
            like to
                    convert it
                    to properties file locally. If I use command

                    po2prop --personality=mozilla -t
            resources.properties cs.po
                    resources_cs.properties

                    suggested by Martin Andr�, some sentences stay
            untranslated in
                    generated
            "resources_cs.properties" file, even if they are transtated in
            "cs.po" file.
                    The same problem is probably on pootle server since
            I have
                    uploaded the
            "cs.po" and commited it, but in application only some
                    expressions are
                    translated.

                Strange, indeed. Can you send me the po file, I'll try
            to have a
                closer look.

                Cheers,
                Martin

              ---------------------------------------------------------------------
                To unsubscribe, e-mail:
            dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>>

                For additional commands, e-mail:
            dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>
            <mailto:dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>>

            ---------------------------------------------------------------------
            To unsubscribe, e-mail:
            dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
            For additional commands, e-mail:
            dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>

        ---------------------------------------------------------------------
        To unsubscribe, e-mail:
        dev-unsubscribe@sip-communicator.dev.java.net
        <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
        For additional commands, e-mail:
        dev-help@sip-communicator.dev.java.net
        <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#10

In the mean time, I'd like to remind everyone that Pootle is really far
easier to live with when using exclusively through the web interface.

If you absolutely need to check the translation you entered in your web
interface, before it goes out to a build, then download and convert the
po (until Pootle starts supporting properties files).

But, once again, a faulty translation that slips in is not that much of
a problem. After all, it would only go into the nightly builds and
hopefully we would be able to setup a stable release line in the
following months.

Cheers
Emil

На 02.04.10 16:28, Martin André написа:

···

Hi Radek,

Sorry, I'm busy with other things right now and haven't yet found the
time to look at your issue. I'll try to have a look at it early next week.

Cheers,
Martin

On 04/02/2010 04:08 PM, Radek Terber wrote:

Hi,

any progress wit this? Am I wrong in something? I did not work with
gettext never before, i have no experience with *po* tools. Therefore I
could do something wrong...
I tried ask mr. Google, but I did not find suitable results. Is this
only my problem?
Thanks.

2010/3/31 Radek Terber <rate.lists@gmail.com <mailto:rate.lists@gmail.com>>

    Hi,

    yes, this is OK - it is only few words, I did not find good czech
    equivalent for that yet.

    2010/3/31 Martin André <mandre@dev.java.net
    <mailto:mandre@dev.java.net>>

        Hi Radek,

        Some of the strings are not translated in the po file you sent.
        Is it the good one?

        Martin

        On 03/30/2010 06:51 PM, Radek Terber wrote:

            Hi

            I attached the cs.po here.

            To be exact, the untranslated parts of "cs.po" are missing
            in generated
            "resources_cs.properties" (there are not original english
            texts neither
            czech translations in the prop file).

            2010/3/30 Martin André <mandre@dev.java.net
            <mailto:mandre@dev.java.net> <mailto:mandre@dev.java.net
            <mailto:mandre@dev.java.net>>>

                On 03/29/2010 10:42 PM, Radek Terber wrote:

                    Hi

                    I have fully translated po file "cs.po", and I would
            like to
                    convert it
                    to properties file locally. If I use command

                    po2prop --personality=mozilla -t
            resources.properties cs.po
                    resources_cs.properties

                    suggested by Martin André, some sentences stay
            untranslated in
                    generated
            "resources_cs.properties" file, even if they are transtated in
            "cs.po" file.
                    The same problem is probably on pootle server since
            I have
                    uploaded the
            "cs.po" and commited it, but in application only some
                    expressions are
                    translated.

                Strange, indeed. Can you send me the po file, I'll try
            to have a
                closer look.

                Cheers,
                Martin

              ---------------------------------------------------------------------
                To unsubscribe, e-mail:
            dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>>

                For additional commands, e-mail:
            dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>
            <mailto:dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>>

            ---------------------------------------------------------------------
            To unsubscribe, e-mail:
            dev-unsubscribe@sip-communicator.dev.java.net
            <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
            For additional commands, e-mail:
            dev-help@sip-communicator.dev.java.net
            <mailto:dev-help@sip-communicator.dev.java.net>

        ---------------------------------------------------------------------
        To unsubscribe, e-mail:
        dev-unsubscribe@sip-communicator.dev.java.net
        <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
        For additional commands, e-mail:
        dev-help@sip-communicator.dev.java.net
        <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net