Translation with .po file
URL to the page in question:
-
Hi, I have translated the organizedthemes.po file and loaded my new .po and .mo files to the same map as where the original came from. I named the files to the language that I’m using nl_NL but everyting that I have translated is still in English.
Can you help me?
Ricardo,
Thank you for your business first of all. Once you’ve added the .mo file, I believe there is one other thing to do.
- Go to the appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose functions.php and look for this spot at the top of the file:
// load_theme_textdomain( 'organizedthemes', TEMPLATEPATH.'/languages' );
- Delete the
// at the beginning of that line so it looks like this:
load_theme_textdomain( 'organizedthemes', TEMPLATEPATH.'/languages' );
- Save your changes.
I believe that will let WordPress and the theme pick up your translation.
If you have any trouble or questions, let me know.
Thanks again,
Bill
Thanks Bill,
It works, the theme have picked up my translation.
Regards Ricardo
That’s great. If you run into trouble, let me know.
- The topic ‘Translation with .po file’ is closed to new replies.