A free, self-hostable news aggregator…
CLI: install language
Alexandre Alapetitec544f510d263
diff --git a/cli/README.md b/cli/README.mdindex 5662e2d83..cbab699dc 100644--- a/cli/README.md+++ b/cli/README.md@@ -32,10 +32,11 @@ Options in parenthesis are optional.```shcd /usr/share/FreshRSS-./cli/do-install.php --default_user admin ( --auth_type form --environment production --base_url https://rss.example.net/ --title FreshRSS --allow_anonymous --api_enabled --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123 --db-base freshrss --db-prefix freshrss )+./cli/do-install.php --default_user admin ( --auth_type form --environment production --base_url https://rss.example.net/ --language en --title FreshRSS --allow_anonymous --api_enabled --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123 --db-base freshrss --db-prefix freshrss )# --auth_type can be: 'form' (default), 'http_auth' (using the Web server access control), 'none' (dangerous)# --db-type can be: 'sqlite' (default), 'mysql' (MySQL or MariaDB), 'pgsql' (PostgreSQL)# --environment can be: 'production' (default), 'development' (for additional log messages)+# --language can be: 'en' (default), 'fr', or one of the [supported languages](../app/i18n/)# --db-prefix is an optional prefix in front of the names of the tables. We suggest using 'freshrss_'# This command does not create the default user. Do that with ./cli/create-user.phpdiff --git a/cli/reconfigure.php b/cli/reconfigure.phpindex da451b3ef..c6902da67 100755--- a/cli/reconfigure.php+++ b/cli/reconfigure.php@@ -5,6 +5,7 @@ require('_cli.php');$params = array('environment:','base_url:',+ 'language:','title:','default_user:','allow_anonymous',