|
GaMerZ
|
This is a rough guide on how to translate WordPress Plugins using poEdit. I will use WP-Polls as the example here. We will translate it to French. Step 1Download poEdit From http://www.poedit.org/download.phpDirect Link http://prdownloads.sourceforge.net/poedit/poedit-1.3.6-setup.exeStep 2Install poEdit Step 3 ( Step 3 ScreenShot) Launch poEdit Step 4 ( Step 4 ScreenShot) Go To ' File -> New catalog from POT file' Step 5 ( Step 5 ScreenShot) Browse for the file ' wp-polls.pot' which is in your YOUR_WORDPRESS_FOLDER/wp-contents/plugin/polls/ Click 'Open' Step 6 ( Step 6a ScreenShot | Step 6b ScreenShot) Fill in the following details to the settings: - Project name and version: WP-Polls 2.13
- Team: Fill in your own name
- Team's email address: Fill in your own email address
- Language: French
- Country: FRANCE
- Charset: utf-8
- Source code charset: Leave it blank
- Pural Forms: Leave it blank
Click 'Ok' Save it as wp-polls-fr_FR.po in YOUR_WORDPRESS_FOLDER/wp-contents/plugin/polls/ Click 'Save' Step 7 ( Step 7 ScreenShot) Type in the translated string in the small box located at the bottom left hand corner of the screen. Translate the remaining strings. Step 8 ( Step 8 ScreenShot) When you are done, click on the ' Save Catalog' button located on the top, it is the second button from the left. Step 9Upload wp-polls-fr_FR.po and wp-polls-fr_FR.mo to your site into YOUR_WORDPRESS_FOLDER/wp-contents/plugin/polls/ Just a note, the wp-polls-fr_FR.mo is automatically generated by poEdit, you need the file in order for the translation to work. Step 10Make sure that WordPress is already in your own language or the plugin translation will not work.
|
|
|
|
« Last Edit: 27 October 2007, 13:00 by GaMerZ »
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
Shouldn't this be in the WP plugins category as a global announcement? Maybe? 
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
Hmmm, I am thinking of making it a standalone tutorial when I have the time.
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
Well, can't you always just make a HTML file? I could do that if you want. 
|
|
|
|
|
Logged
|
|
|
|
|
nervoso
|
I can try and nothing, see my configs
define ('WPLANG', 'pt_BR'); // wp-config.php
wp-postratings-pt_BR.mo wp-postratings-pt_BR.po
At postratings
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
What is the file name for the mo/po file for your WordPress?
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
|
|
arthur
|
Hi GaMerZ Make sure that WordPress is already in your own language or the plugin translation will not work. Is there really no way to display a translation when the Wordpress Installation is in English? I just made a nice french translation of UserOnline (with PoEdit), but I don't want a french Wordpress. Because the french Wordpress is often corrupted. So now, my translation is online, but the UserOnline plugin stays in english. Do you have any idea? Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
nope not possible from what I know
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
WorldWideWaiting
|
It think it's possible: if a language file isn't present, wordpress uses the English 'translation'.  - change in the config the language code to (something like) fr_FR - don't place the French translation in wp-includes/languages/ - place the translation of useronline in the useronline folder. I think it works, but i'm not sure... 
|
|
|
|
« Last Edit: 26 July 2007, 14:17 by WorldWideWaiting, Reason: french, not fresh... ;-) »
|
Logged
|
|
|
|
|
GaMerZ
|
good point there, but will it throws an error?
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
Probbably not ?
|
|
|
|
|
Logged
|
|
|
|
YongS
Newbie
Offline
Posts: 2
Online Translator
|
I can help translate online WordPress content into Spanish Translation, French Translation, German Translation, Latin Translation, Greek Translation, Italian Translation, Japanese Translation, Arabic Translation, Chinese Translation, Dutch Translation, English Translation, Korean Translation, Portuguese Translation, Russian Translation and so on. Feel free to contact me.
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
Free or Paid?
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
heh... Really good question..
|
|
|
|
|
Logged
|
|
|
|
YongS
Newbie
Offline
Posts: 2
Online Translator
|
No doubt you hope that's free services. Yes, it's free, but this should base on a very cooperation between us. Agent or parnter or something else..., How do you think, especially in Chinese market.
|
|
|
|
|
Logged
|
|
|
|
|
GaMerZ
|
Normally, I will leave the translation to my user instead of engaging someone to do it as my primary language is English.
|
|
|
|
|
Logged
|
++ lesterchan.net - Lester Chan's WebsiteI DO NOT provide support for any modifications of any plugin to meet your needs/requirements, unless it is a paid job and I have the time to do it due to the large number of request.
|
|
|
|
Ttech
|
I'm wondering but also, thinking, that this should move to a sperate topic and lock this one.
|
|
|
|
|
Logged
|
|
|
|
|