** Changed in: mahara
Milestone: None => 17.04.0
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
Adding cli for langpacks
Status in Mahara:
When Mahara is being updated to a new minor or major version, admins
need to remember to pull language packs separately as they are not
part of the core distribution. This cli script will make that easier.
This this cli does:
1) Install / update langpacks by listing the languages by their code, eg de =
German, fr = French like so
sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr
This will make a backup of the existing language (if exists) into the
dataroot langpacks_backup directory.
2) If you don't want to make backups then add the -b=false flag, eg
sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -b=false
3) If you need to rollback the backups you can use the -r=true flag,
sudo -u www-data php admin/cli/sync_langpacks.php -l=de,fr -r=true
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~mahara-contributors
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp