Thread Starter
Josh
(@josh401)
So sorry, I’m learning this as I go.
Plugin has already been prepared for localization.
I just now used “POEdit” to create the .po and .mo files.
These files default.po, and default.mo can be found in my repository in version 1.5.6
Here is the link:
http://plugins.svn.wordpress.org/ultimate-tinymce/tags/version%201.5.6/
I’m going to go research now for the steps on translating… and how I get the translation back to the plugin folder.
Thanks again for your help.
Thread Starter
Josh
(@josh401)
So, as I get new translations… do they all get added to the same .po and .mo files? Or will I have different .po and .mo files, each with it’s own translation?
There are three kind of files (very confusing):
POT – Portable Object Template. This is the file that you get when you extract texts from the application. Normally, you send this file to your translators.
PO – Portable Object. This is the file that you receive back from the translators. It’s a text file that includes the original texts and the translations.
MO – Machine Object. The MO file includes the exact same contents as PO file. The two files differ in their format. While a PO file is a text file and is easy for humans to read, MO files are compiled and are easy for computers to read. Your web server will use the MO file to display the translations.
do they all get added to the same .po and .mo files
No, you need different .mo and .po files for each language.
http://betterwp.net/wordpress-tips/create-pot-file-using-poedit/
http://codex.wordpress.org/User:Skippy/Creating_POT_Files
If “jwl-ultimate-tinymce” is your text domain the file names should be like this: jwl-ultimate-tinymce-en_EN.mo, jwl-ultimate-tinymce-en_EN.po, jwl-ultimate-tinymce.pot.
Be sure to also load your plugin textdomain:
http://codex.wordpress.org/I18n_for_WordPress_Developers#Choosing_and_loading_a_domain
http://codex.wordpress.org/Function_Reference/load_plugin_textdomain
To translate plugins and themes I use this plugin: http://wordpress.org/extend/plugins/codestyling-localization/
It can scan your plugin for all translatable strings and create po and .mo files.
tutorial
Thread Starter
Josh
(@josh401)
Thank you very much. You certainly provide very specific, informative links in your responses! I have referenced them often during this “language localization” stage of my plugin process.
I believe I have it. I have two very helpful gentlemen currently doing a translation using POEdit. One has already finished for me, and I’m just waiting to see a screenshot of his results.
Again, you have been most helpful and I certainly appreciate your time.
Best!!