Skip to content

Commit 486f75c

Browse files
committed
Doc
1 parent 2f9ae2e commit 486f75c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ php artisan laravelcms --action=clear
6262
}
6363
```
6464

65-
- Option 2: Provider Google, From https://cloud.google.com/translate/docs/
65+
- Option 2: Provider Google, Advanced version. NOT SUPPORT YET. From https://cloud.google.com/translate/docs/, Need to pay for what you use, price is \$20 per million characters in 2020.
6666

6767
```json
6868
{
69-
"api_provider": "google", // NOT SUPPORT YET
70-
"app_id": "AizSxUKysHBsds2", // Translation API KEY
71-
"app_key": "AizSxUKysHBsds2" // Translation API KEY
69+
"api_provider": "google",
70+
"app_id": "AizSxUKysHBsds2",
71+
"app_key": "AizSxUKysHBsds2"
7272
}
7373
```
7474

75-
## Use free Google translate
75+
## Use the free Google translate
7676

7777
- Set provider to Google_Free
7878
- Option 1: Set both app_id & app_key to google_free_001, then our CMS will use package https://github.com/dejurin/php-google-translate-for-free to do the translate. (It's the default setting after install)

src/resources/views/plugins/page-tab-translator/translator.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"translate_content", 'type'=>'textarea' ])
3333
</div>
3434
<div class="col-md-12 pb-5 mb-5 text-secondary">
35-
Translate character length: <span id="character-length">0</span> / suggested max 5000
35+
Translate Content character length: <span id="character-length">0</span> / suggested max 5000
3636
</div>
3737

3838
</div>

0 commit comments

Comments
 (0)