Lester Chan's Forums

Please login or register.

Login with username, password and session length
Pages: [1] 2   Go Down

Author Topic: Translating WordPress Plugins  (Read 37019 times)

0 Members and 1 Guest are viewing this topic.

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
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 http://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 »
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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
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? :)
Logged
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
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.
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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
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. :)
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
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
Logged

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
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?
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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #6 on: 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
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!
Logged

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #8 on: 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
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'.  ;)
- 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...  ::) ;D
« Last Edit: 26 July 2007, 14:17 by WorldWideWaiting »
Logged

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #10 on: 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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #11 on: 22 November 2007, 23:10 »
Probbably not ?
Logged
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #13 on: 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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #14 on: 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

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #16 on: 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
  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 4,294
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #17 on: 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

Lucky

  • Newbie
  • *
  • Offline Offline
  • Posts: 3
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #18 on: 04 November 2008, 19:38 »
Hello to all, I have made the Italian translation of Vs. plugin wp-print your last update to the version No 2.31, I published an article on my blog to this page http://blog.nuke-evolution.it/2008/11/04/wp-print-plugin-wordpress-tradotto-in-italiano/
The download of the translation is available for registered users here http://www.nuke-evolution.it/modules.php?name=Downloads&op=getit&lid=170
Or the author can contact me, I will send the translation. Thank you and good job.
Logged

GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Offline Offline
  • Posts: 10,040
    • View Profile
    • WWW
Re: Translating WordPress Plugins
« Reply #19 on: 05 November 2008, 01:01 »
Thanks, I will contact you for the translation =)
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.
Pages: [1] 2   Go Up
« previous next »
 

Page created in 0.049 seconds with 24 queries.