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.
-
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.См.также
-
setuplang
¶
Setups list of languages (it has own list and all defined in translate-toolkit).
-
updategit
¶
Fetches remote Git repositories and updates internal cache.
You can either define which subproject to update (eg.
weblate/master
) or use--all
to update all existing subprojects.