Migrating Source Localization to the Trunk

Procedures for MMx and other interested parties

  1. Make sure you have a set of German files from the aviary branch (you do not need a full source tree)
  2. Pull a firefox trunk tree (make -f client.mk checkout MOZ_CO_PROJECT=browser)
  3. Change directory one level .. from "mozilla".
  4. cvs co -d :ext:my_username%foo.tld@cvs.mozilla.org:/l10n co l10n
    Note: This is not "co mozilla", which is what we did on the aviary branch.
  5. You should end up with a completely empty "l10n" directory next to mozilla. The basic task now is to set up a directory structure that is useful to the trunk.
  6. The directory structure will look like this:
    /mozilla/netwerk/locales/en-US/...
    /l10n/de-DE/netwerk/...

    /mozilla/dom/locales/en-US/...
    /l10n/de-DE/dom/...

    /mozilla/toolkit/locales/en-US/...
    /l10n/de-DE/toolkit/...

    /mozilla/browser/locales/en-US/...
    /l10n/de-DE/browser/...

    You need to copy the de-DE files from the aviary branch to this new directory structure, making directories as necessary. Make sure you don't copy "CVS" directories, or remove them after you've copied a directory over.

  7. Run compare-locales and fix missing files as appropriate.
  8. Now try building, with --enable-ui-locale=de-DE
  9. If all goes well (it won't, it will fail in toolkit/locales), "cvs add" your directory structure and files, and commit them.