|
17.
|
|
|
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:135
|
|
18.
|
|
|
The language codes that are used are the official international ones used for the `Mahara language packs <https://langpacks.mahara.org/>`_.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:139
|
|
19.
|
|
|
**Don't make backups**: Add the ``-b=false`` flag
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:141
|
|
20.
|
|
|
Example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:143
../source/administration/cli.rst:149
|
|
21.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -b=false``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:145
|
|
22.
|
|
|
**Restore a backup**: Use the ``-r=true`` flag
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:147
|
|
23.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -r=true``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:151
|
|
24.
|
|
|
This will ignore trying to update the English language as that is set within Mahara itself.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:153
|
|
25.
|
|
|
Config.php variables
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:7
|
|
26.
|
|
|
Some site options cannot be set in the administration area but need to be updated directly on the server in the ``config.php`` file. In this section, you see the settings that are possible and why you might want to include them in your ``config.php`` file for your site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:9
|