Jump to content


Photo
- - - - -

Wordpress plugins that have been translated


  • Please log in to reply
2 replies to this topic

#1 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 21 May 2014 - 06:30 PM

Hi,

 

I've been searching for the answer but haven't been able to find it...hopefully someone can help?

 

I have wp-pagenavi on a bunch of my sites however although it comes with the mo and po French file, my sites don't automatically translate. Do I have to change the location of the file in order for it to work?

 

Any help would be great.

 

Thanks



#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 21 May 2014 - 06:37 PM

Really depends on the plugin. The plugin has to actually register the mo file with wordpress.



#3 HazelChris

HazelChris

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationRiga,Latvia
  • Country: Country Flag

Posted 25 July 2014 - 03:35 PM

Exactly! You’ll have to register the mo file with WordPress in order to provide automatic translation facility on your website. For this, you can use PoEdit, one of the most used cross-platform get-text catalogs.  

The first step is to understand the formats:

1. .mo is short for Machine Object. This is used by WordPress in the form of a complied export of your .po files.

2. .po is short for Portable Object. It is in the form of an editable text file having translation strings. You should use it for translations only.

3. .pot means Portable Object Template. It exists in the form of an editable text file. It is used to grasp the WordPress translation strings, themes and plugins. 

 

Here is the process:

1. Duplicate and rename the .pot file as plugin-basename-lang_COUNTRY.po.

2. Use the reference plugin cased as subscribe-reloaded-fr_gr.po (fr_gr refer to French and German languages).

3. Mention your preferred language instead of French and German

4. Set WPLANG to your preferred language in wp-config.php file

5. PoEdit will automatically generate a .mo file every when you save the .po file. You need to upload this file for WordPress to use.

Hope this will help you!       

 


  • batman likes this