File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1
1
# Translate content online by Baidu AI or Google AI
2
2
3
3
- 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
5
5
6
6
## Install it via the backend
7
7
@@ -30,7 +30,13 @@ php artisan laravelcms --action=clear
30
30
## How to use it?
31
31
32
32
- 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
34
40
- Set up app_id and app_key from the baidu or google translate api page. eg.
35
41
36
42
``` json
@@ -44,16 +50,6 @@ php artisan laravelcms --action=clear
44
50
}
45
51
```
46
52
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
-
57
53
## Improve this plugin & documents
58
54
59
55
- You are very welcome to improve this plugin and how to use documents
Original file line number Diff line number Diff line change 1
1
{
2
2
"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" ,
4
4
"type" : " amila-laravel-cms-plugin" ,
5
5
"homepage" : " https://github.com/AlexStack/Laravel-CMS-Plugin-Translator" ,
6
6
"keywords" : [
7
7
" laravel" ,
8
8
" amila laravel cms" ,
9
9
" translate" ,
10
+ " translator" ,
10
11
" amila laravel cms plugin"
11
12
],
12
13
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments