At the moment i'm developing my first wordpress plugin and want to include multi-language function in it. May be there is some manuals on it? Tried to google, but only get best wordpress language switcher plugin.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
Basically read the source for the function
Ignore the second parameter, it was deprecated a long time ago. An example from my plugin T5 Taxonomy Location:
The first parameter is the text domain, the last the path to the Now you can use strings in your plugin with that text domain:
There are multiple tools available to create new translations. I have used Codestyling Localization in the past, but it is broken now unfortunately. |
|||||||||||
|