Skip to content

Commit

Permalink
update readme for force option
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmuhittin committed Mar 7, 2019
1 parent 764eb20 commit 3d97477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit 3d97477

Please sign in to comment.