Lester Chan's Forums
05 July 2008, 00:13 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Become a fan of Lester Chan's WordPress Plugins in Facebook.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Translating WordPress Plugins  (Read 15930 times)
0 Members and 2 Guests are viewing this topic.
GaMerZ
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Topic Start: 04 January 2007, 15:16 »

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 1
Download poEdit From http://www.poedit.org/download.php
Direct Link http://prdownloads.sourceforge.net/poedit/poedit-1.3.6-setup.exe

Step 2
Install 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 9
Upload 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 10
Make 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 Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #1: 04 January 2007, 17:13 »

Shouldn't this be in the WP plugins category as a global announcement? Maybe? Smiley
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
GaMerZ
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #2: 04 January 2007, 17:32 »

Hmmm, I am thinking of making it a standalone tutorial when I have the time.
Logged


++ lesterchan.net - Lester Chan's Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #3: 04 January 2007, 17:36 »

Well, can't you always just make a HTML file? I could do that if you want. Smiley
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
nervoso
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #4: 01 April 2007, 22:22 »

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
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #5: 02 April 2007, 01:04 »

What is the file name for the mo/po file for your WordPress?
Logged


++ lesterchan.net - Lester Chan's Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #6: 02 April 2007, 01:08 »

hm..
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
arthur
Newbie
*
Offline Offline

Posts: 1



View Profile
« Reply #7: 22 July 2007, 14:56 »

Hi GaMerZ 

Quote
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
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #8: 22 July 2007, 15:15 »

nope not possible from what I know
Logged


++ lesterchan.net - Lester Chan's Website

I 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
Newbie
*
Offline Offline

Posts: 5



View Profile WWW
« Reply #9: 26 July 2007, 10:09 »

It think it's possible: if a language file isn't present, wordpress uses the English 'translation'.  Wink
- 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...  Roll Eyes Grin
« Last Edit: 26 July 2007, 14:17 by WorldWideWaiting, Reason: french, not fresh... ;-) » Logged
GaMerZ
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #10: 26 July 2007, 14:12 »

good point there, but will it throws an error?
Logged


++ lesterchan.net - Lester Chan's Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #11: 22 November 2007, 23:10 »

Probbably not ?
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
YongS
Newbie
*
Offline Offline

Posts: 2


Online Translator


View Profile WWW
« Reply #12: 15 February 2008, 08:27 »

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
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #13: 15 February 2008, 08:34 »

Free or Paid?
Logged


++ lesterchan.net - Lester Chan's Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #14: 15 February 2008, 20:56 »

heh...  Really good question..
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
YongS
Newbie
*
Offline Offline

Posts: 2


Online Translator


View Profile WWW
« Reply #15: 16 February 2008, 06:49 »

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
lesterchan.net
Administrator
*****
Offline Offline

Posts: 6,229



View Profile WWW
« Reply #16: 16 February 2008, 13:06 »

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 Website

I 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
Official Support
Administrator
*****
Offline Offline

Posts: 4,228



View Profile WWW
« Reply #17: 19 February 2008, 01:43 »

I'm wondering but also, thinking, that this should move to a sperate topic and lock this one.
Logged

Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 23 queries.