Management commands¶
The ./manage.py is extended with following commands:
-
checkgit
¶
Prints current state of backend git repository.
You can either define which subproject to check (eg.
weblate/master
) or use--all
to check all existing subprojects.
-
commitgit
¶
Commits any possible pending changes to backend git repository.
You can either define which subproject to check (eg.
weblate/master
) or use--all
to check all existing subprojects.
-
cleanuptrans
¶
Cleanups orphnaed checks and translation suggestions.
-
loadpo
¶
Reloads translations from disk (eg. in case you did some updates in Git repository).
-
rebuild_index
¶
Rebuilds index for fulltext search. This might be lengthy operation if you have huge set of translation units.
You can use
--clean
to remove all words from database prior updating.
-
setupgroups
¶
Configures default groups and (if called with
--move
) assigns all users to default group.Ver también
-
setuplang
¶
Setups list of languages (it has own list and all defined in translate-toolkit).
-
updatechecks
¶
Updates all check for all units. This could be useful only on upgrades which do major changes to checks.
You can either define which project or subproject to update (eg.
weblate/master
) or use--all
to update all existing subprojects.
-
updategit
¶
Fetches remote Git repositories and updates internal cache.
You can either define which project or subproject to update (eg.
weblate/master
) or use--all
to update all existing subprojects.