Skip to content

Comparing files for advanced users

tomer edited this page Oct 3, 2014 · 1 revision

While it is possible to compare translations using [the dashboard] and [mxr], it is possible to have a local copy of the source code, which contains the en-US locale, and compare files locally.

Cloning the Aurora source tree

run the following command on the desired directory: hg clone http://hg.mozilla.org/releases/mozilla-aurora/ The command will take some time to complete, and will use few GB of disk space (it is the complete source tree after all).

Comparing folders

Since the strings are separated for few components the en-US locale doesn't have them all in one location. thus, you can't compare it to the locale repository right away, unless you set-up some symbolic links.

In case you are using Meld, the comparison commands should be something like this:

meld-browser.sh

LANGUAGE=en meld he/browser/ mozilla-aurora/browser/locales/en-US/

meld-dom.sh

LANGUAGE=en meld he/dom/ mozilla-aurora/dom/locales/en-US/

meld-mobile.sh

LANGUAGE=en meld he/mobile/android/chrome/ mozilla-aurora/mobile/android/locales/en-US/chrome/

meld-security.sh

LANGUAGE=en meld he/security/manager/ mozilla-aurora/security/manager/locales/en-US/

meld-toolkit.sh

LANGUAGE=en meld he/toolkit/ mozilla-aurora/toolkit/locales/en-US/

meld-webbapprt.sh

LANGUAGE=en meld he/webapprt/ mozilla-aurora/webapprt/locales/en-US/

Last sync: Thu Oct 2 17:58:02 IDT 2014

Clone this wiki locally