The Quick Post Widget is multilingual. The plugin uses several other components, each with their own language system.
Here is an overview of the different components and their translation:
| Language | Widget main | Visual Editor | File-manager | Date/time picker (date part) | Date/time picker (time part) | Thanks to |
|---|---|---|---|---|---|---|
| English | OK | OK | OK | OK | OK | |
| Dutch | OK | OK | OK | OK | OK | |
| Finnish | OK | OK | OK | OK | OK | Jaakko Kangosjärvi |
| German | OK | OK | OK | OK | To Do | Sadik |
| Spanish | To Do | OK | OK | OK | To Do | |
| French | To Do | OK | OK | OK | To Do | |
| Italian | To Do | OK | OK | OK | To Do | |
| Polish | To Do | OK | OK | OK | To Do | |
| Portuguese | To Do | OK | OK | OK | To Do |
As you can see, English, Finnish and Dutch translations are complete, a couple of other languages are halfway and for a lot of other languages there’s still some work to do.
Translating the Quick Post Widget into your own language isn’t very hard to do.
The Visual Editor and file-manager components are available in a lot of different languages so there’s no work to do on these ones.
The date/time-picker is actually composed of a date-part and a time-part. The date-part is available in a lot of languages so there’s no need to make your own translation. The time-part however needs to be translated.
Completing an existing translation
To complete a translation in your language take the incomplete language files of the different components and fill the gaps. You can find all the language files in the quick-post-widget folder on your site, but for your convenience you can download them from the table above.
To complete a translation into your own language there are two components which need to be translated: the main widget and the time-part of the date/time-picker. Once these are translated just send me the files and I will take care of the rest.
The date/time-picker can be easily translated by opening the file in a normal text editor and translate the English strings. Only the time part (second section of the file) needs to be done.
For the main widget language file you can also use a text editor but, alternatively, you can use a tool called Poedit. Poedit provides a more convenient approach to editing catalogs than launching a text editor and editing the file by hand. To complete a translation with Poedit please follow these steps:
- Download and install Poedit.
- Download the incomplete main widget language file from the table above or take it from the quick-post-widget/langs folder on your site.
- Open the file in Poedit.
- In the left column in Poedit you’ll see the English strings.
- In the right column in Poedit you’ll see the translated strings (as far as they exist).
- You can translate a string by clicking on it and fill in the translation in the bottom of the screen.
- When all strings are translated, save the file.
- Please mail me your file so we can all benefit and I will take care of the rest.
- If you want me to mention your name on this site, please mail me your (nick)name as well.
Creating a new translation
To create a new translation only a main widget file needs to be created and the time part of the date/time-picker. To translate the time part of the date/time-picker, please fill out the table below and mail me the results:
| English string | Translation |
|---|---|
| Choose Time | |
| Time | |
| Hour | |
| Minute | |
| Second | |
| Now | |
| Done |
The easiest way to create a new translation of the main widget language file is to use Poedit. Follow these steps:
- Download and install Poedit.
- Open the quick-post-widget.pot template file from the quick-post-widget/langs folder on your site or download it here.
- Open the file in Poedit.
- In the left column in Poedit you’ll see the English strings.
- In the right column in Poedit you’ll see the translated strings (as far as they exist).
- You can translate a string by clicking on it and fill in the translation in the bottom of the screen.
- When all strings are translated, save the file as quick-post-widget-[locale].po, for instance quick-post-widget-de_DE.po.
- Please mail me your file so we can all benefit and I will take care of the rest.
- If you want me to mention your name on this site, please mail me your (nick)name as well.
Thanks!
Now you can not only post from the sidebar, but also from a page, with immediate visual editing!
WordPress Startpagina