gecko-dev/python/devtools/migrate-l10n/README.rst
Julian Descottes 336f71fd5e Bug 1295157 - create devtools l10n migration script for dtd to properties migration;r=Pike
For devtools-html, devtools will progressively stop using DTD files and will use only properties
files. To avoid retranslating already localized strings in every locale, this script can be used
by localization teams to automatically migrate strings moved in the scope of the devtools-html
project.

MozReview-Commit-ID: KNDfCoPXOM9

--HG--
extra : rebase_source : 48fbf2ae3daab89891262e460c979b6c141a2caa
2016-09-08 23:45:42 +02:00

17 lines
600 B
ReStructuredText

devtools-l10n-migration script
==============================
For devtools.html, devtools will no longer rely on DTD files. This migration
script is aimed at localizers to automate the migration of strings from DTD to
properties files.
How to run this script?
To migrate all configuration files:
python migrate/main.py path/to/your/l10n/repo/ -c migrate/conf/
To migrate only one configuration file:
python migrate/main.py path/to/your/l10n/repo/ -c migrate/conf/bug1294186
All configuration files should be named after the bug where specific devtools strings were migrated.