File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
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
4
+ - 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,9 @@ 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
- - You don't need to do anything after install
33
+ - Go to the translator plugin setting page, change the api_provider to baidu or google.
34
+ - Set up app_id and app_key from the baidu or google translate api page.
35
+ - Note: Google translate API not support before 1.0 version.
34
36
35
37
## How to change the settings?
36
38
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace Amila \LaravelCms \Plugins \SubPage ;
3
+ namespace Amila \LaravelCms \Plugins \Translator ;
4
4
5
5
use Illuminate \Support \ServiceProvider ;
6
6
You can’t perform that action at this time.
0 commit comments