Skip to content

Commit 44681fc

Browse files
committed
Doc update
1 parent e42eb27 commit 44681fc

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Translate content online by Baidu AI or Google AI
22

33
- This is an Amila Laravel CMS Plugin
4-
- Translate content online via Baidu FanYi API or Google Translate API
4+
- Automatically translate content online via Baidu FanYi API or Google Translate API
55

66
## Install it via the backend
77

@@ -30,7 +30,13 @@ php artisan laravelcms --action=clear
3030
## How to use it?
3131

3232
- It's enabled after install by default. You can see a Translator tab when you edit a page.
33-
- Go to the translator plugin setting page, change the api_provider to baidu or google.
33+
34+
* Note: Google translate API not support before 1.0 version.
35+
36+
## How to change the settings?
37+
38+
- You can change the settings by edit plugin.page-tab-translator
39+
- Change the api_provider to baidu or google
3440
- Set up app_id and app_key from the baidu or google translate api page. eg.
3541

3642
```json
@@ -44,16 +50,6 @@ php artisan laravelcms --action=clear
4450
}
4551
```
4652

47-
- Note: Google translate API not support before 1.0 version.
48-
49-
## How to change the settings?
50-
51-
- You can change the settings by edit plugin.page-tab-translator
52-
53-
```json
54-
55-
```
56-
5753
## Improve this plugin & documents
5854

5955
- You are very welcome to improve this plugin and how to use documents

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "alexstack/laravel-cms-plugin-translator",
3-
"description": "Translate content when you add or edit a page",
3+
"description": "Automatically translate content via Baidu FanYi API or Google Translate API when you add or edit a page",
44
"type": "amila-laravel-cms-plugin",
55
"homepage": "https://github.com/AlexStack/Laravel-CMS-Plugin-Translator",
66
"keywords": [
77
"laravel",
88
"amila laravel cms",
99
"translate",
10+
"translator",
1011
"amila laravel cms plugin"
1112
],
1213
"license": "MIT",

0 commit comments

Comments
 (0)