L10n:Driving: Difference between revisions

Jump to navigation Jump to search
Adding a github project to Verbatim
(Adding a github project to Verbatim)
Line 52: Line 52:
     POOTLE_SETTINGS=localsettings.py python2.6 manage.py update_from_vcs --project=PROJECTNAME -v 2
     POOTLE_SETTINGS=localsettings.py python2.6 manage.py update_from_vcs --project=PROJECTNAME -v 2


    Other [https://github.com/translate/pootle/tree/master/pootle/apps/pootle_app/management/commands commands] like update_against_templates and commit_to_vcs --user=USER are also supported.
* Other [https://github.com/translate/pootle/tree/master/pootle/apps/pootle_app/management/commands commands] like update_against_templates and commit_to_vcs --user=USER are also supported.
 
* To add a github project to Verbatim (Note: use _ instead of - for all folder/project names):
    sudo su verbatim
    cd /data/www/localize.mozilla.org/verbatim/pootle_env/Pootle
    git clone git@github.com:USER/PROJECT.git
    cd ../repos
    ln -s /data/www/localize.mozilla.org/verbatim/pootle_env/Pootle/l10n_github_repos/PROJECT/locale PROJECT
    cp PROJECT -R ../po
    Add project in the [https://localize.mozilla.org/admin/projects.html Verbatim Administration Dashboard].
Confirmed users
1,276

edits

Navigation menu