Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Translation CopyNPaste Finder for Firefox

4 views
Skip to first unread message

Ankitkumar Rameshchandra Patel

unread,
Feb 26, 2011, 10:25:10 AM2/26/11
to dev-l10n
Hi,

There are messages in Firefox that we as Localizers want to translate,
but unintentionally we miss them while just copying and pasting from
English after going through compare-locale results on l10n-stage dashboard.

I did try to produce a result with small scripts that can fetch those
messages and display them on the web:

Results here: http://indianoss.sourceforge.net/mozilla/CopyNPasteFinder.php
More details: http://www.ankit644.com/?p=224

I welcome your feedback.

Thanks!

--
Regards,
Ankit Patel
http://www.ankit644.com/

Matjaz Horvat

unread,
Feb 26, 2011, 10:55:11 AM2/26/11
to an...@redhat.com, dev-l10n
Fantastic, Ankit, fantastic!

> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n
>

Matjaz Horvat

unread,
Feb 26, 2011, 12:33:03 PM2/26/11
to an...@redhat.com, dev-l10n
I just pushed changes to Slovenian (SL) repo. 76 strings changed thanks to
you!

Matjaž

sandeep shedmake

unread,
Feb 26, 2011, 1:23:56 PM2/26/11
to an...@redhat.com, dev-l10n
On Sat, Feb 26, 2011 at 8:55 PM, Ankitkumar Rameshchandra Patel <
an...@redhat.com> wrote:

> Hi,
>
> There are messages in Firefox that we as Localizers want to translate,
> but unintentionally we miss them while just copying and pasting from
> English after going through compare-locale results on l10n-stage dashboard.
>
> I did try to produce a result with small scripts that can fetch those
> messages and display them on the web:
>
> Results here:
> http://indianoss.sourceforge.net/mozilla/CopyNPasteFinder.php
> More details: http://www.ankit644.com/?p=224
>
>

Nice!!!

Helps to quickly go through the messages that could be translated.

> I welcome your feedback.
>
> Thanks!
>
> --
> Regards,
> Ankit Patel
> http://www.ankit644.com/

--
Sandeep

Jesper Kristensen

unread,
Feb 26, 2011, 2:28:42 PM2/26/11
to

Very nice. Would it be possible to have one for Thunderbird too?

Ankitkumar Rameshchandra Patel

unread,
Feb 28, 2011, 1:18:50 AM2/28/11
to dev-...@lists.mozilla.org
On 02/26/2011 11:03 PM, Matjaz Horvat wrote:
> I just pushed changes to Slovenian (SL) repo. 76 strings changed thanks to
> you!
>
> Matjaž
>

Your welcome! As long as my contributions are helpful I am really happy.

Ankitkumar Rameshchandra Patel

unread,
Feb 28, 2011, 1:22:11 AM2/28/11
to dev-...@lists.mozilla.org

Of course!

I will just need a list of languages where this to be done for Thunderbird.

Jesper Kristensen

unread,
Feb 28, 2011, 11:56:09 AM2/28/11
to

I would like to see it for Danish.

Ankitkumar Rameshchandra Patel

unread,
Mar 1, 2011, 2:57:34 AM3/1/11
to dev-...@lists.mozilla.org

Hi,

There were some bugs with previous script that I have solved and the
latest results for Firefox are updated.

Jesper, I have setup the Thunderbird comparison for Danish here:
http://indianoss.sourceforge.net/mozilla/CopyNPasteFinder_Tb.php

Axel Hecht

unread,
Mar 1, 2011, 4:58:48 AM3/1/11
to

If you're willing to go for "all" again, the list of locales we build
for tb is at
http://hg.mozilla.org/comm-central/file/default/mail/locales/all-locales.

Thanks, it's great to see folks hacking on tools

Axel

Ankitkumar Rameshchandra Patel

unread,
Mar 2, 2011, 12:25:55 AM3/2/11
to dev-...@lists.mozilla.org

Okay, updated for all 52 locales listed there.

new results:
http://indianoss.sourceforge.net/mozilla/CopyNPasteFinder_Tb.php

Matjaz Horvat

unread,
Mar 2, 2011, 3:15:22 AM3/2/11
to Axel Hecht, dev-...@lists.mozilla.org

> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n
>

Axel, I think we should consider integrating this functionality into
dashboard. I'm sure many people are interested in such feature.

Thoughts?

-- Matjaž

smo

unread,
Mar 2, 2011, 10:04:04 AM3/2/11
to
On 28 feb., 07:22, Ankitkumar Rameshchandra Patel <an...@redhat.com>
wrote:

count in slovenian!

I was about to sit down on my pants and write it all in c# - I may
even do it
eventually - but I would rather be sure first TB is OK

thx so much!

Ankitkumar Rameshchandra Patel

unread,
Mar 7, 2011, 2:43:02 AM3/7/11
to dev-...@lists.mozilla.org
Hi,

For anyone who wants to take a look at the code and contribute, here is
the way to pull the source code scripts for (AccesskeyConflictFinder and
CopyNPasteFinder).

git clone git://indianoss.git.sourceforge.net/gitroot/indianoss/indianoss

Axel Hecht

unread,
Mar 8, 2011, 7:37:31 AM3/8/11
to

I'm still thinking. I have yet to figure out if I'm happy about a hacky
and possibly misleading UI.

Like, I just tripped over folks translating console.log() the other day.

I've also seen folks that had partially translated strings quite a few
times.

There's also some overlap with the glossary stuff that the french team does.

I don't yet see a clear picture.

Axel

Ankitkumar Rameshchandra Patel

unread,
Mar 9, 2011, 1:18:44 AM3/9/11
to dev-...@lists.mozilla.org
On 03/08/2011 06:07 PM, Axel Hecht wrote:
> I'm still thinking. I have yet to figure out if I'm happy about a hacky
> and possibly misleading UI.
>
> Like, I just tripped over folks translating console.log() the other day.
>
> I've also seen folks that had partially translated strings quite a few
> times.
>
> There's also some overlap with the glossary stuff that the french team
> does.
>
> I don't yet see a clear picture.
>
> Axel

We can always make the interface neat, clean and attractive for users.

Also new features could be added, that we think we need.

How about having two different set of pages showing,??

Messages identical to English
as well as
Messages that differs from English

Based on Individual language team's needs they might want to use it.

Dwayne Bailey

unread,
Mar 9, 2011, 3:31:31 AM3/9/11
to dev-...@lists.mozilla.org
That was one of my teams on Pootle!

The irony is that they do have a test to pick up translation of
functions. But that requires reviewing the failures which clearly in
this case they didn't do.

My other concern is always false positives. Axel and I have both been
at the receiving end of revert a translation of 'false' in a
configuration context. Once reverts a Pootle test called 'unchanged'
(which is doing what CopyNPaste is doing) lights up. Without knowing
why something is unchanged the translator will go and change it back again.

So if anything please think a little about the risk of false positives
in these tools. If you can reduce them then it increases the checks
usefulness.

--
regards
Dwayne

Alexander Ihrig

unread,
Mar 9, 2011, 5:27:35 AM3/9/11
to
Hi,

there is a bug in your script. The script fails, if the entity name is
followed by a line break before the string.

This bug occurs for mail/chrome/messenger/quickFilterBar.dtd

Regards
Alex Ihrig

Ankitkumar Rameshchandra Patel

unread,
Mar 9, 2011, 5:41:50 AM3/9/11
to dev-...@lists.mozilla.org

Thanks for reporting this Alexander, will fix it.

0 new messages