Firefox l10n

Damjan Georgievski edited this page Oct 28, 2018 · 1 revision

Локализација на Mozilla производи

Workflow за работа со локализациските фајлови од производите на Mozilla

Ќе работиме со aurora дрвото на mozilla:

hg clone http://hg.mozilla.org/releases/l10n/mozilla-beta/mk/ mk.hg hg clone http://hg.mozilla.org/releases/mozilla-aurora/ mozilla-aurora.hg

./dir-structure.sh mozilla-aurora.hg en-US.moz # extract locale files moz2po -P -i mozilla-aurora.hg -o en-US.pot # make .pot files moz2po -i mk.hg -o mk.po -t en-US.moz # make .po files

<<< NOW open Virtaal/Lokalize and WORK WORK WORK >>>

  • Convert back to .dtd/.properties

po2moz -t en-US.moz -i mk.po -o mk.hg compare-locales mozilla-aurora.hg/browser/locales/l10n.ini . mk.hg/

  • Commit to repository (make sure to use new branch) hg status hg commit
  • ????
  • Profit

Requirements:

  • python
  • translate-toolkit
  • python-levenshtein
  • compare-locales
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.