-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathreadme.txt
176 lines (129 loc) · 4.13 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
=== Simple Slug Translate ===
Contributors: ko31
Donate link: https://ko-fi.com/kotakagi
Tags: slugs, permalink, translate, translation
Requires at least: 4.3
Tested up to: 6.1
Stable tag: 2.7.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Simple Slug Translate can translate the post, page, category and taxonomy slugs to English automatically.
== Description ==
Simple Slug Translate can translate the post, page, category and taxonomy slugs to English automatically.
It can make the permalink looks more better, and also may be good for SEO.
The translation engine is powered by [Watson Language Translator](https://www.ibm.com/watson/services/language-translator/). Thanks to that support the following languages:
* Arabic
* Bulgarian
* Bengali
* Czech
* Danish
* German
* Greek
* English
* Spanish
* Finnish
* French
* Gujarati
* Hebrew
* Hindi
* Hungarian
* Italian
* Japanese
* Korean
* Latvian
* Malayalam
* Norwegian Bokmal
* Nepali
* Dutch
* Polish
* Portuguese
* Romanian
* Russian
* Sinhala
* Slovakian
* Slovenian
* Serbian
* Swedish
* Thai
* Turkish
* Ukrainian
* Urdu
* Vietnamese
* Simplified Chinese
* Traditional Chinese
In order to use the service, you can apply for an [IBM Cloud Lite](https://www.ibm.com/cloud/lite-account) 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.
== Related Links ==
* [Github](https://github.com/ko31/simple-slug-translate)
* [Documentation(English)](https://github.com/ko31/simple-slug-translate/wiki/Documentation)
* [Documentation(Japanese)](https://github.com/ko31/simple-slug-translate/wiki/%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88)
== Installation ==
1. Upload the simple-slug-translate directory to the plugins directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. "Dashboard"->"Settings"->"Simple Slug Translate"
1. "API Settings": Input your own "API key".
1. "Translation Settings": Choose your "Source language".
1. "Permission Settings": Choose enable post types.
1. When you will update the post, then the post slug will be automatically translated into English. The page, category and taxonomy as well.
Learn more:
* [Documentation(English)](https://github.com/ko31/simple-slug-translate/wiki/Documentation)
* [Documentation(Japanese)](https://github.com/ko31/simple-slug-translate/wiki/%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88)
== Frequently asked questions ==
= What do I need to use this plugin? =
You need to apply for an [IBM Cloud Lite](https://www.ibm.com/cloud/lite-account) account and get your own API key of Watson Language Translator.
This plugin uses the API key to query the translation engine. The API key are not used except for query!
= If the slug is already registered, will the translated slug be overwritten? =
Whether the slug is overwritten can be switched with the following settings.
* "Dashboard"->"Settings"->"Simple Slug Translate"->"Overwrite"
= Can I customize the translated slug? =
You can customize the slug by hooking it to the `simple_slug_translate_results` filter.
https://gist.github.com/ko31/1eb9f637b7ba25df5f82fa6bc44f3eb1
= Is it possible to translate only when the posting status is fixed? =
You can customize the slug by hooking it to the `simple_slug_translate_post_status` filter.
https://gist.github.com/ko31/7ceb837d63e0a41c50f0839145448cdf
== Changelog ==
= 2.7.3 =
* Fixed bug
= 2.7.2 =
* Add taxonomy settings
= 2.7.1 =
* Fixed bug
= 2.7.0 =
* Add supported languages
* Add uninstalling process
* Removed endpoint default value
= 2.6.2 =
* Fixed bug
= 2.6.1 =
* Fixed bug
= 2.6.0 =
* Fixed bug
* Add overwrite settings
= 2.5.0 =
* Add supported languages
= 2.4.0 =
* Add supported languages
= 2.3.1 =
* Fixed bug
= 2.3.0 =
* Support service endpoints by location
= 2.2.0 =
* Add filter hook
= 2.1.0 =
* Support Gutenberg
* Add post type settings
* Fixed some bugs
= 2.0.0 =
* Migrate to Language Translator API v3
= 1.2.2 =
* Fixed bug
= 1.2.1 =
* Update text
= 1.2.0 =
* Fixed bugs
* Add filter hook
= 1.1.0 =
* Add API settings check
= 1.0.1 =
* Add scheduled event
= 1.0.0 =
* Initial Release