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

Narro for Scottish Gaelic

1 view
Skip to first unread message

Kevin Scannell

unread,
Apr 20, 2010, 1:10:01 PM4/20/10
to dev-...@lists.mozilla.org
A localization of Firefox into Scottish Gaelic is nearing completion
and I'm helping the lead translator get set up for maintaining this in
the long term.

I originally gave him the PO files we use for Irish to translate and
then I used the translate-toolkit to generate the tree with .dtd and
.properties files - that's about to be committed to Mercurial. For
various reasons I think Narro would be a better choice than PO files
in this particular case.

Is it possible to import translations from an existing tree (.dtd and
.properties) into Narro? If so, could a project be set up for this
language, please? Language code is "gd", our contact info is here:
https://wiki.mozilla.org/L10n:Teams:gd

Kevin

Alexandru Szasz

unread,
Apr 20, 2010, 1:25:51 PM4/20/10
to dev-...@lists.mozilla.org

Hi Kevin,

I added the language.
Please send me the files or give me a link to them, and also a username
so I can give you extra rights.


--
Alexandru Szasz

Kevin Scannell

unread,
Apr 20, 2010, 1:39:02 PM4/20/10
to dev-...@lists.mozilla.org
On Tue, Apr 20, 2010 at 12:25 PM, Alexandru Szasz <ale...@gmail.com> wrote:
> Pe 20.04.2010 20:10, Kevin Scannell a scris:
>>
>> A localization of Firefox into Scottish Gaelic is nearing completion
>> and I'm helping the lead translator get set up for maintaining this in
>> the long term.
>>
...

>
> Hi Kevin,
>
> I added the language.
> Please send me the files or give me a link to them, and also a username so I
> can give you extra rights.
>

Thanks!

Here are the translated files:

http://borel.slu.edu/obair/gd.tar.gz

I'll write off list about usernames, permissions after I talk with the
other team member.

Kevin

Axel Hecht

unread,
Apr 20, 2010, 7:18:17 PM4/20/10
to

Could we bootstrap the narro instance from what I land on hg? I'm not
sure yet, but there's some likelyhood that there are edits and/or tweaks
to be made on initial landing, and narro doesn't really roundtrip nicely
when you do edits in hg, and not in narro. At least that's as much as I
know.

Axel

Alexandru Szasz

unread,
Apr 21, 2010, 12:55:29 AM4/21/10
to dev-...@lists.mozilla.org
The idea in Narro is to keep it simple, so if you always overwrite
what's exported from Narro on a fresh clone from hg there won't ever be
problems, that's the future plan to do it automatically from Narro.

I had the hg import going for the target language as well in the
begining, getting edits from two different sources doesn't bring
conflicts in Narro but you might have a ping pong effect, somebody
translates File to Disk in hg and somebody else translates File to Unit
in Narro.
Both translations will be kept, but the import is ran by default with
--approve so the most recent import or approval in Narro will win.

So it might be better to just provide an option to import the
translations from Mercurial in the import page.

--
Alexandru Szasz

Axel Hecht

unread,
Apr 28, 2010, 2:24:57 AM4/28/10
to

Sounds like a good idea, yeah.

Axel

Tim Chien (MozTW)

unread,
Apr 28, 2010, 3:01:56 AM4/28/10
to Alexandru Szasz, dev-...@lists.mozilla.org
Alexandru,

I think Narro should provide two import options, "Pull latest changes
from en-US", "Pull latest changes from en-US and attempt to merge
existing translations from locale dir".

The current import function could do both of things, if clean up the
locale dir before clicking import, but that's quite confusing. (By
clean up I mean clicking "export" to overwrite old translations in the
dir or simply remove the files)

Also, the current dir structure design makes it hard to bootstrap a
localization; you have to figure out which /???/locales/en-US to put
into the Narro en-US directory yourself and the respective locale
directory structure. I did this by clone en-US hg repo then soft link
the directories, and all of these are currently manual.


Tim


On Wed, Apr 21, 2010 at 12:55 PM, Alexandru Szasz <ale...@gmail.com> wrote:
> Pe 21.04.2010 02:18, Axel Hecht a scris:
>>

> The idea in Narro is to keep it simple, so if you always overwrite what's
> exported from Narro on a fresh clone from hg there won't ever be problems,
> that's the future plan to do it automatically from Narro.
>
> I had the hg import going for the target language as well in the begining,
> getting edits from two different sources doesn't bring conflicts in Narro
> but you might have a ping pong effect, somebody translates File to Disk in
> hg and somebody else translates File to Unit in Narro.
> Both translations will be kept, but the import is ran by default with
> --approve so the most recent import or approval in Narro will win.
>
> So it might be better to just provide an option to import the translations
> from Mercurial in the import page.
>

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

Alexandru Szasz

unread,
Apr 28, 2010, 5:20:05 AM4/28/10
to dev-...@lists.mozilla.org
Pe 28.04.2010 10:01, Tim Chien (MozTW) a scris:
> Alexandru,
>
> I think Narro should provide two import options, "Pull latest changes
> from en-US", "Pull latest changes from en-US and attempt to merge
> existing translations from locale dir".
>
> The current import function could do both of things, if clean up the
> locale dir before clicking import, but that's quite confusing. (By
> clean up I mean clicking "export" to overwrite old translations in the
> dir or simply remove the files)
>
> Also, the current dir structure design makes it hard to bootstrap a
> localization; you have to figure out which /???/locales/en-US to put
> into the Narro en-US directory yourself and the respective locale
> directory structure. I did this by clone en-US hg repo then soft link
> the directories, and all of these are currently manual.
>

Hi Tim,

The cleanup button just removes all files from the export dir.

Some options are coming in the long awaited version 1.0.
I'm adding several sources, including Mercurial for importing. Hopefully
exporting also.
From what you're saying I see also an option to scan a mozilla tree for
l10n.ini files to see where the sources are.
Also Narro will be more flexible about the locale dir. So if you upload
a extension, in .xpi format, Narro will scan it until it finds a en-US
folder and switch to that before importing.

>
> Tim


>
>
> On Wed, Apr 21, 2010 at 12:55 PM, Alexandru Szasz<ale...@gmail.com> wrote:
>
>> Pe 21.04.2010 02:18, Axel Hecht a scris:
>>

>> The idea in Narro is to keep it simple, so if you always overwrite what's
>> exported from Narro on a fresh clone from hg there won't ever be problems,
>> that's the future plan to do it automatically from Narro.
>>
>> I had the hg import going for the target language as well in the begining,
>> getting edits from two different sources doesn't bring conflicts in Narro
>> but you might have a ping pong effect, somebody translates File to Disk in
>> hg and somebody else translates File to Unit in Narro.
>> Both translations will be kept, but the import is ran by default with
>> --approve so the most recent import or approval in Narro will win.
>>
>> So it might be better to just provide an option to import the translations
>> from Mercurial in the import page.
>>
>> --
>> Alexandru Szasz
>> _______________________________________________
>> dev-l10n mailing list
>> dev-...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-l10n
>>
>>


--
Alexandru Szasz

0 new messages