|
26.
|
|
|
Command-line interfaces (CLI) allow advanced users to interact with Mahara through the command line or terminal rather than through a graphical interface. That can speed up certain actions or make them easier to execute.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:11
|
|
27.
|
|
|
|new in Mahara 17.04| Install and update language packs
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:20
|
|
28.
|
|
|
Typically, if you want to update a language pack, you need to download the entire language pack manually and place it into the appropriate folder. This is cumbersome, especially when you want to update the language packs during minor point updates.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:99
|
|
29.
|
|
|
Using CLI, you can speed up the process.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:101
|
|
30.
|
|
|
**Install or update language packs** for your instance of Mahara by listing the language codes.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:103
|
|
31.
|
|
|
Example (de = German, fr = French):
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:105
|
|
32.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:107
|
|
33.
|
|
|
This will make a backup of the existing languages if they exist into the dataroot's ``langpacks_backup`` directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:109
|
|
34.
|
|
|
The language codes that are used are the official international ones used for the `Mahara language packs <http://langpacks.mahara.org/>`_.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:36
|
|
35.
|
|
|
**Don't make backups**: Add the ``-b=false`` flag
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:115
|