Skip to content

Commit c87c03d

Browse files
committed
Doc udpate
1 parent 58e000e commit c87c03d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 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
4+
- Translate content online via Baidu FanYi API or Google Translate API
55

66
## Install it via the backend
77

@@ -30,7 +30,9 @@ 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-
- 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.
3436

3537
## How to change the settings?
3638

src/LaravelCmsPluginServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Amila\LaravelCms\Plugins\SubPage;
3+
namespace Amila\LaravelCms\Plugins\Translator;
44

55
use Illuminate\Support\ServiceProvider;
66

0 commit comments

Comments
 (0)