-
Notifications
You must be signed in to change notification settings - Fork 9
Documentation
Ko Takagi edited this page May 7, 2019
·
6 revisions
This is a document for using WordPress plugin "Simple Slug Translate".
Simple Slug Translate can translate the post, page, category and taxonomy slugs to English automatically.
The translation engine is powered by Watson Language Translator.
You need to apply for an IBM Cloud Lite account and get your own API key of Watson Language Translator. For free plan, you can translate up to 1,000,000 characters per month.
This plugin uses the API key to query the translation engine. The API key are not used except for query!
- Unless you already have one, go ahead and create a free IBM Cloud Lite account. Open a web browser, and visit https://cloud.ibm.com/registration.
- Enter your profiles and click Create Account.
- Temporary registration is completed. To complete your registration, check your email.
- Click the confirmation link in your email, and your account will be activated. Click Log in.
- Enter your email address and password and login. Note: You will be automatically logged in as soon as your account registration is complete.
- Click Catalog.
- Click Language Translator in the catalog.
- Choose a location Dallas (other than Dallas), select Lite plan, click Create. Note: If you want unlimited, please select other plan.
- Click Manage.
- Make a note of the value by clicking the Copy
API Key
andURL
button for the credential. Used for plug-in settings described later.
You can install Simple Slug Translate directly from the WordPress admin panel.
- Navigate to the Plugins -> Add New and search for "Simple Slug Translate"
- Click Install Now
- Click Activate
You can also install manually.
- Upload the simple-slug-translate directory to the plugins directory.
- Activate the plugin through the Plugins menu in WordPress.
- Navigate to the Settings -> Simple Slug Translate.
- Enter the API key, Endpoint URL (obtained at the time of previous registration), and select Source language(e.g.: When using Japanese
ja - Japanese
). Click Save Changes. - The settings are correct if the following message appears on the screen after saving. If you get an error message, please check the setting value of API Key and Endpoint URL.
- When you will update the post, then the post slug will be automatically translated into English. The page, category and taxonomy as well.