helping with docs, testing helper foo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

helping with docs, testing helper foo

Axel Hecht
Hi,

I created a first tool to help with localizations, which is l10n.mk. It
adds two simple rules and picks up client.mk to do two things:

run compare-locales.pl on all your dirs in the way that the build would.

create a new localization from scratch (does not work on mac :-( )

Both of them have sketchy instructions on
http://wiki.mozilla.org/Draft:L10n:Creating_a_new_Localization, which
needs your help.

I left out all the stuff about "you need ..." and "learn CVS ....", I
guess those belong on different pages.

You can look at the make file at
http://lxr.mozilla.org/seamonkey/source/tools/l10n/l10n.mk, soon. lxr
still needs to pick it up, but it is in CVS (on cvs-mirror, too) on both
trunk and 1.8 branch.

The choice for doing this as a make file was a pretty obvious one, I
want a single point where to define the directories required for a
localization, and that is client.mk. So anything building on top of that
directory list will be a makefile as well. Not the easiest thing, but I
assume that folks will want to get up a minimal environment for checks
etc anyway, so they may just as well start here.

And it's still easier than figuring out all those dirs and bad CVS
subdirs and line endings from tarballs etc yourself.

Axel
_______________________________________________
dev-l10n mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-l10n