|
32.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:133
|
|
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:135
|
|
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:141
|
|
36.
|
|
|
Example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:143
../source/administration/cli.rst:149
|
|
37.
|
|
|
``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
|
|
38.
|
|
|
**Restore a backup**: Use the ``-r=true`` flag
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:147
|
|
39.
|
|
|
``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
|
|
40.
|
|
|
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
|
|
41.
|
|
|
Config.php variables
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/config_php.rst:7
|