All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

  • Lester Chan's Forums »
  • Programming »
  • PHP + MYSQL »
  • Topic: Translating WordPress Plugins
« previous next »
  • Print
Pages: [1] 2   Go Down

spacer Author Topic: Translating WordPress Plugins  (Read 114437 times)

0 Members and 1 Guest are viewing this topic.

spacer GaMerZ

  • lesterchan.net
  • Administrator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 11,692
    • spacer
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
spacer
Translating WordPress Plugins
« on: 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 www.poedit.net/download.php

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/wp-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: nplurals=2; plural=n != 1;
Click 'Ok'
Save it as wp-polls-fr_FR.po in YOUR_WORDPRESS_FOLDER/wp-contents/plugin/wp-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/wp-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: 23 November 2008, 10:31 by GaMerZ »
spacer Logged
spacer
++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

spacer Ttech

  • Official Support
  • Global Moderator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 4,296
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #1 on: 04 January 2007, 17:13 »
Shouldn't this be in the WP plugins category as a global announcement? Maybe? spacer
spacer Logged
Learning and Helping one day at a time.

spacer
spacer

DevNode.org Operator - The IRC network for Programers

spacer GaMerZ

  • lesterchan.net
  • Administrator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 11,692
    • spacer
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
spacer
Re: Translating WordPress Plugins
« Reply #2 on: 04 January 2007, 17:32 »
Hmmm, I am thinking of making it a standalone tutorial when I have the time.
spacer Logged
spacer
++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

spacer Ttech

  • Official Support
  • Global Moderator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 4,296
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #3 on: 04 January 2007, 17:36 »
Well, can't you always just make a HTML file? I could do that if you want. spacer
spacer Logged
Learning and Helping one day at a time.

spacer
spacer

DevNode.org Operator - The IRC network for Programers

spacer nervoso

  • Newbie
  • spacer
  • Posts: 3
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #4 on: 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
spacer Logged

spacer GaMerZ

  • lesterchan.net
  • Administrator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 11,692
    • spacer
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
spacer
Re: Translating WordPress Plugins
« Reply #5 on: 02 April 2007, 01:04 »
What is the file name for the mo/po file for your WordPress?
spacer Logged
spacer
++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

spacer Ttech

  • Official Support
  • Global Moderator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 4,296
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #6 on: 02 April 2007, 01:08 »
hm..
spacer Logged
Learning and Helping one day at a time.

spacer
spacer

DevNode.org Operator - The IRC network for Programers

spacer arthur

  • Newbie
  • spacer
  • spacer
  • Posts: 1
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #7 on: 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!
spacer Logged

spacer GaMerZ

  • lesterchan.net
  • Administrator
  • spacer spacer spacer spacer spacer
  • spacer
  • Posts: 11,692
    • spacer
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
spacer
Re: Translating WordPress Plugins
« Reply #8 on: 22 July 2007, 15:15 »
nope not possible from what I know
spacer Logged
spacer
++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

spacer WorldWideWaiting

  • Newbie
  • spacer
  • spacer
  • Posts: 5
    • spacer
spacer
Re: Translating WordPress Plugins
« Reply #9 on: 26 July 2007, 10:09 »
It think it's possible: if a language file isn't present, wordpress uses the English 'translation'.  spacer
- 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...  spacer spacer
« Last Edit: 26 July 2007, 14:17 by WorldWideWaiting »
spacer Logged

spacer GaMerZ

  • lesterchan.net
  • Administrator
  • spacer spacer spacer spacer spacer
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.