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

Mozilla Calendar / Sunbird / Lightning locales moved into /l10n

2 views
Skip to first unread message

mattw...@gmail.com

unread,
Jun 7, 2006, 1:13:06 PM6/7/06
to
Localizer and Calendar folks,
This email is a heads up that after much work by many folks, I am now
checking in the existing locales for Calendar into
/l10n/ab-CD/calendar.

I am also adding two contributed calendar localizations that were held
up by our move to /l10n: ru and zh-CN

Thanks everyone for your help in getting Calendar moved into the new
/l10n system!

-lilmatt

mattw...@gmail.com

unread,
Jun 7, 2006, 1:23:25 PM6/7/06
to
The bug in question is 267981.

Pavel Franc

unread,
Jun 7, 2006, 5:54:56 PM6/7/06
to
mattw...@gmail.com napsal(a):

> Localizer and Calendar folks,
> This email is a heads up that after much work by many folks, I am now
> checking in the existing locales for Calendar into
> /l10n/ab-CD/calendar.

This is really great !
Thanks a lot.

Czech calendar strings were up-dated. And now I'm looking forward to
both lightning files ;)

Pavel Franc

Iacopo Benesperi

unread,
Jun 8, 2006, 3:36:12 AM6/8/06
to
mattw...@gmail.com ha scritto:

I think this is a great news, too. The only problem is that I've never
used CVS before :-P
Can you tell me where are (if there are) all connection parameter to
access to sunbird CVS? and how can I request a CVS account?

Sorry for all these noob questions!

Iacopo

lilmatt

unread,
Jun 8, 2006, 8:41:38 AM6/8/06
to

Iacopo Benesperi wrote:
> I think this is a great news, too. The only problem is that I've never
> used CVS before :-P
> Can you tell me where are (if there are) all connection parameter to
> access to sunbird CVS? and how can I request a CVS account?

Iacopo (and others with similar questions):
I suggest you contact those localizers already taking care of your
locale for Firefox and Thunderbird, and see about joing their team.
More information about this and your CVS questions can be found on the
L10n wiki.

http://wiki.mozilla.org/L10n:Home_Page
http://wiki.mozilla.org/L10n:Localization_Teams

-lilmatt

Iacopo Benesperi

unread,
Jun 8, 2006, 9:10:27 AM6/8/06
to
lilmatt ha scritto:

> Iacopo (and others with similar questions):
> I suggest you contact those localizers already taking care of your
> locale for Firefox and Thunderbird, and see about joing their team.
> More information about this and your CVS questions can be found on the
> L10n wiki.
>
> http://wiki.mozilla.org/L10n:Home_Page
> http://wiki.mozilla.org/L10n:Localization_Teams

many thanks, I'll do it.

Iacopo

Robert Kaiser

unread,
Jun 8, 2006, 3:23:58 PM6/8/06
to
mattw...@gmail.com schrieb:

> Localizer and Calendar folks,
> This email is a heads up that after much work by many folks, I am now
> checking in the existing locales for Calendar into
> /l10n/ab-CD/calendar.

Note to calendar localizers:
Never use tools such as MozillaTranslator to localize that calendar
source, as https://bugzilla.mozilla.org/show_bug.cgi?id=340723 prohibits
such a localization from working properly in all products generated from
that source (either Sunbird or Lightning will be unhappy if you miss the
#ifdef that such tools can't see/generate as it never gets into a .jar).

From how I see it, the probably only sane way to maintain a current
calendar L10n is by manually editing the files with a UTF8-enabled text
editor (like probably most localizers do nowadays anyways) - I just
wanted to point that out so that hopefully noone will stumble over that
(like I did).

Robert Kaiser

Iacopo Benesperi

unread,
Jun 8, 2006, 5:38:26 PM6/8/06
to
Robert Kaiser ha scritto:

> Note to calendar localizers:
> Never use tools such as MozillaTranslator to localize that calendar
> source, as https://bugzilla.mozilla.org/show_bug.cgi?id=340723 prohibits
> such a localization from working properly in all products generated from
> that source (either Sunbird or Lightning will be unhappy if you miss the
> #ifdef that such tools can't see/generate as it never gets into a .jar).
>
> From how I see it, the probably only sane way to maintain a current
> calendar L10n is by manually editing the files with a UTF8-enabled text
> editor (like probably most localizers do nowadays anyways) - I just
> wanted to point that out so that hopefully noone will stumble over that
> (like I did).
>
> Robert Kaiser

I don't know how CVS tree is structured, but I've seen on mozilla.org
pages that the development of Calendar is dismissed, and only Sunbird
and Lightning will go ahead.
I don't know if the problem you're talking about just afflicts calendar
or Sunbird and Lightning, too.
I can say that from the beginning I'm translating Sunbird with MT, and
I've not found any problem.
I don't know if this help, but I can say that Sunbird translation has no
problem with MT. I don't know Lightning, but I think the italian person
who's translating Lightning (yes, we'll have to merge translations, I
think) is using MT, too.

Iacopo Benesperi

Robert Kaiser

unread,
Jun 9, 2006, 3:05:54 AM6/9/06
to
Iacopo Benesperi schrieb:

> I don't know how CVS tree is structured, but I've seen on mozilla.org
> pages that the development of Calendar is dismissed, and only Sunbird
> and Lightning will go ahead.

In my comment, "calendar L10n" means L10n of the files residing in the
"calendar" source directory, which include Sunbird and Lightning.

> I can say that from the beginning I'm translating Sunbird with MT, and
> I've not found any problem.

Did you try to use the same L10n with Lightning? Read the bug, it
conflicts with Thunderbird if you don't have the #ifdef in that file.

> I don't know if this help, but I can say that Sunbird translation has no
> problem with MT. I don't know Lightning, but I think the italian person
> who's translating Lightning (yes, we'll have to merge translations, I
> think) is using MT, too.

You have to merge them when you check into CVS, and that's why I posted
this not now, as this file needs the #ifdef that MT omits in any case
(because it will never see it).

Greetings,

Robert Kaiser

Axel Hecht

unread,
Jun 9, 2006, 7:57:21 AM6/9/06
to

According to dwayne, the translate toolkit (potools) safely handles this
now.

In addition, I'm quite confident that lillmatt will fix the "Never" part
of this, there are decent ways to fix this bug, but that will happen
after the rewrite of that code, or as part of that.

Axel

Martin Srebotnjak

unread,
Jun 10, 2006, 5:42:52 AM6/10/06
to
Who can I send the Sunbird Slovenian files to be checked into CVS?
I have them updated to Sunbird 0.3a2 and would also like someone to
build Slovenian xpi for Sunbird 0.3a2 for me.
Any volunteers? ;)

Thanks,
m.

mattw...@gmail.com pravi:

Thorsten Fritz

unread,
Jun 10, 2006, 7:02:53 AM6/10/06
to
Martin Srebotnjak wrote:
> Who can I send the Sunbird Slovenian files to be checked into CVS?
> I have them updated to Sunbird 0.3a2 and would also like someone to
> build Slovenian xpi for Sunbird 0.3a2 for me.
> Any volunteers? ;)
You can have a look at the german languagepack
http://downloads.mozdev.org/sbg/sunbird/0.3a2/xpi/sunbird-0.3a2-languagepack-de-DE.xpi

If it doesn't help you you can send me the required files and i package
it for you.

Thorsten

Simon Paquet

unread,
Jun 10, 2006, 7:22:41 AM6/10/06
to
And on the seventh day Martin Srebotnjak spoke:

>Who can I send the Sunbird Slovenian files to be checked into CVS?

You should probably contact the l10n team lead of the Slovenian
localization, Aleks Reinhardt, for cvs checkin.

Simon
--
Sunbird/Lightning/Calendar Website Maintainer:
http://www.mozilla.org/projects/calendar
Sunbird/Calendar blog: http://weblogs.mozillazine.org/calendar

Martin Srebotnjak

unread,
Jun 10, 2006, 9:48:32 AM6/10/06
to
Well, there are two questions for creation of xpi that I do not know the
answer to:
1) What Ff localization should I add to the xpi? The xpi of Sunbird
includes both Calendar localization (that I have) + a Firefox
localization. For this xpi I do not know which Ff build it is based on,
so I don't know which Ff Slovenian jar to pack with it ...
2) I don't know what to put in the rdf file of Slovenian localization -
I am aware that some strings must be properly set, not copied from some
other localization, because that may cause problems later when using
these xpi packages.
From that on I would be able to make the xpi package.

Simon said he doesn't find these two questions related to making this
xpi, I hope someone else does ...

Lp, m.

Thorsten Fritz pravi:

Marek Stepien

unread,
Jun 10, 2006, 10:43:34 AM6/10/06
to
Please, don't top-post!

Martin Srebotnjak napisał(a):


> Well, there are two questions for creation of xpi that I do not know the
> answer to:
> 1) What Ff localization should I add to the xpi? The xpi of Sunbird
> includes both Calendar localization (that I have) + a Firefox
> localization. For this xpi I do not know which Ff build it is based on,
> so I don't know which Ff Slovenian jar to pack with it ...

You should add NO Firefox localization to Sunbird. You should only add
the common part of Firefox, Thunderbird and Sunbird which is toolkit.

You can check the date that Sunbird was compiled in Help > About (the
"Gecko/20006mmdd" string) and get toolkit localization from that date,
either check it out from CVS or extract from a Firefox or Thunderbird
trunk nightly from the same date.

You would also need to use compare-locales.pl [1] to compare your locale
to en-US to check, if anything is missing.

[1]
http://lxr.mozilla.org/seamonkey/source/toolkit/locales/compare-locales.pl?raw=1

> 2) I don't know what to put in the rdf file of Slovenian localization -
> I am aware that some strings must be properly set, not copied from some
> other localization, because that may cause problems later when using
> these xpi packages.

The install.rdf is rather self-explanatory. This is for Polish (pl):

<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest"
em:id="langp...@sunbird.mozilla.org"
em:name="Polski (pl) pakiet lokalizacyjny"
em:version="0.3a2"
em:type="8"
em:creator="aviary.pl">
<em:contributor>Marek Stepien</em:contributor>
<em:targetApplication>
<Description>
<em:id>{718e30fb-e89b-41dd-9da7-e25a45638b28}</em:id>
<em:minVersion>0.3a2</em:minVersion>
<em:maxVersion>0.3a2</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>


So, for Slovenian, you just need to replace "pl" with 'si", change
em:name to mean "Slovenian (si) language pack" in your language and
replace the content of em:creator and em:contributor with whatever you
like. Do NOT touch <em:targetApplication>.

Just look inside e.g. Polish language pack [2] and you should figure out
all the stuff.

[2] http://beta.aviary.pl/sunbird/0.3a2/sunbird-0.3a2.pl.langpack.xpi

All of this will be easier and done automatically when the l10n process
of Sunbird is made more Firefox-like, and, fortunately, each day we're
getting closer to this. :)

--
Marek Stepien <marcoos at aviary dot pl>
AviaryPL, Polish Mozilla Localization Team
http://www.aviary.pl/

Axel Hecht

unread,
Jun 11, 2006, 3:36:42 AM6/11/06
to
Marek Stepien wrote:
> Please, don't top-post!
>
> Martin Srebotnjak napisał(a):
>> Well, there are two questions for creation of xpi that I do not know the
>> answer to:
>> 1) What Ff localization should I add to the xpi? The xpi of Sunbird
>> includes both Calendar localization (that I have) + a Firefox
>> localization. For this xpi I do not know which Ff build it is based on,
>> so I don't know which Ff Slovenian jar to pack with it ...
>
> You should add NO Firefox localization to Sunbird. You should only add
> the common part of Firefox, Thunderbird and Sunbird which is toolkit.
>
> You can check the date that Sunbird was compiled in Help > About (the
> "Gecko/20006mmdd" string) and get toolkit localization from that date,
> either check it out from CVS or extract from a Firefox or Thunderbird
> trunk nightly from the same date.
>
> You would also need to use compare-locales.pl [1] to compare your locale
> to en-US to check, if anything is missing.
>
You didn't mention the branch, just for the sake of completeness ;-)

Axel

Marek Stepien

unread,
Jun 11, 2006, 7:07:12 AM6/11/06
to
Axel Hecht napisał(a):

>> You would also need to use compare-locales.pl [1] to compare your locale
>> to en-US to check, if anything is missing.
>>
> You didn't mention the branch, just for the sake of completeness ;-)

You're right. But there's no branch, 0.3a2 was from the trunk. :)

Martin Srebotnjak

unread,
Jun 13, 2006, 10:25:22 AM6/13/06
to
OK, yesterday evening Aleks put Slovenian localization into CVS after I
translated the new strings that appeared since 0.3a2. Thanks, Aleks.

Will localized builds (after-0.3a2) now be automatically built by
mozilla.org? At least the release versions?

Lp, m.

Simon Paquet pravi:

Simon Paquet

unread,
Jun 14, 2006, 3:09:36 AM6/14/06
to
Martin Srebotnjak wrote on 13. Jun 2006:

> OK, yesterday evening Aleks put Slovenian localization into CVS after I
> translated the new strings that appeared since 0.3a2. Thanks, Aleks.

Great.

> Will localized builds (after-0.3a2) now be automatically built by
> mozilla.org?

Building localized builds is possible, now that bug 281935 has been
fixed,
but at the moment we do not have the infrastructure in place to put out
localized builds automatically. We will certainly discuss this with the
Mozilla Corporation folks and ask them whether they can provide us with
the necessary infrastructure.


--
Simon Paquet
Sunbird/Lightning/Calendar website maintainer
http://www.mozilla.org/projects/calendar

David Fraser

unread,
Jun 15, 2006, 9:00:40 AM6/15/06
to Robert Kaiser, dev-...@lists.mozilla.org
Late reply but just in case people need to know, I checked that the
translate toolkit (moz2po) can handle the #ifdef so you should be able
to use that to translate Calendar

David

0 new messages