L20n/Toolchain: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "== Overview == L20n provides a basic command-line tool set for localizers, developers and localization maintainers (aka release drivers). The toolchain enables all three partie...")
 
No edit summary
Line 23: Line 23:


== Commands ==
== Commands ==
We probably will use some sort of activate code to shake the path and prompt line to improve the l10n operations experience.
Initially we offer three scripts:


=== l10n-bootstrap ===
=== l10n-bootstrap ===
gandalf@peacesaw> mkdir ./fr
gandalf@peacesaw> cd ./fr
gandalf@peacesaw> activate-l10n
gandalf@peacesaw [l10n]> bootstrap-locale mozilla/gaia fr
gandalf@peacesaw [l10n:mozilla/gaia:fr:0%]> bootstrap-locale mozilla/gaia fr
The result is a new directory "fr" that contains the whole structure of files that have to be localized.
=== l10n-status ===
=== l10n-status ===
gandalf@peacesaw> activate-l10n
gandalf@peacesaw [l10n]> cd ./fr
gandalf@peacesaw [l10n:mozilla/gaia:fr:5%]> status
Project: mozilla/gaia
Locale: fr
Branch: trunk
Translated: 5.6% (59/1050)
Untranslated: 90.5 (950/1050)
Obsolete: 3.6% (38/1050)
Missing: 0.3 (3/1050)
=== l10n-update ===
=== l10n-update ===
Confirmed users
1,016

edits

Navigation menu