|
15.
|
|
|
Example (de = German, fr = French):
|
|
|
|
Exemple (de = Allemand, fr = Français) :
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:131
|
|
16.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr``
|
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr``
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:133
|
|
17.
|
|
|
This will make a backup of the existing languages if they exist into the dataroot's ``langpacks_backup`` directory.
|
|
|
|
Ceci va créer automatiquement, s'il existe, une sauvegarde du paquet de langue dans le dossier ``langpacks_backup``.
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
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/>`_.
|
|
|
|
Les codes de langue utilisés sont les codes internationaux officiels utilisés pour les « paquets de langue Mahara » <https://langpacks.mahara.org/>`_.
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:139
|
|
19.
|
|
|
**Don't make backups**: Add the ``-b=false`` flag
|
|
|
|
**Ne pas faire de sauvegarde** : Ajouter le paramètre ``-b=false``
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:141
|
|
20.
|
|
|
Example:
|
|
|
|
Exemple :
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
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``
|
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -b=false``
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:145
|
|
22.
|
|
|
**Restore a backup**: Use the ``-r=true`` flag
|
|
|
|
**Rétablir une sauvegarde** : Utilisez le paramètre ``-r=true``
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:147
|
|
23.
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -r=true``
|
|
|
|
``sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -r=true``
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:151
|
|
24.
|
|
|
This will ignore trying to update the English language as that is set within Mahara itself.
|
|
|
|
La mise à jour de la langue anglaise est ignorée, car les chaînes anglaises sont dans le coeur de Mahara et non dans un paquet de langue.
|
|
Translated and reviewed by
Dominique-Alain JAN
|
|
|
|
Located in
../source/administration/cli.rst:153
|