From 3d97477830fa29bf9431329a853a66c6daefdafe Mon Sep 17 00:00:00 2001 From: Muhittin Tan Date: Thu, 7 Mar 2019 17:15:14 +0300 Subject: [PATCH] update readme for force option --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6743ee..e339c1a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # laravel-google-translate -Translate translation files (under /resources/lang) from specified base locale to all other available languages using google translate api https://cloud.google.com/translate/ +Translate translation files (under /resources/lang) and lang.json files from specified base locale to all other available languages using google translate api https://cloud.google.com/translate/ ## installation ```console @@ -18,9 +18,9 @@ Then you can run ```console php artisan translate:files ``` -or specify base locale, excluded files, target locales. If you like to see the translated texts use --verbose option. --preventoverwrite options skips existing target files. +or specify base locale, excluded files, target locales. If you like to see the translated texts use --verbose option. --force option enables overwrites to existing target files. ```console -php artisan translate:files --baselocale=tr --exclude=auth,passwords --targetlocales=en,de --verbose --preventoverwrite +php artisan translate:files --baselocale=tr --exclude=auth,passwords --targetlocales=en,de --verbose --force ``` ## potential issues