Norwegian translation of WordPress theme “Piano Black”

Foto: akeg @ Flickr

I am drafting a new website for some friends using WordPress, and for theme I chose Piano Black by mono-lab. The site is Norwegian and thus I had to translate the theme language pack. I followed Urban Giraffe’s Translating WordPress Plugins & Themes-guide and ended up in a flaming red fight with poEdit to get the program to read the theme language files correctly. Thanks in part to Gettin’ Geek’s post I finally worked out that in the path-tab in the New Catalogue-dialog you have to give the basepath to the theme (in my case “C:\Users\<myusername>\Documents\piano-black”) as the base path, then add the “languages” path AND the “.” path to the list of paths. Hope this can be of assistance to other batteling the same issue.

Anwyay, if you want to get my Norwegian Bokmal translation of the theme you can download it here. The zip-file contains the nb_NO.mo and nb_NO.po files. Beware of one issue though: A bug prevented me from translating the “% comments”-line. Since it is just draft I didn’t bother to debug the issue, but if you find a fix – let me know!

  • http://www.plattityd.se stefan persson

    Hello

    just installed my wordpress blog with this black piano theme but I have modified it slightly. I’ve been trying to translate the theme to swedish. Just got done with poedit (for mac) so I got my sv_SE.mo and .po file but I guess i have to edit the path way as you say in your post…. but can you specify it slighty more :) .. and when that is done. How do I activate the language pack in the theme? I tried to use a already existing languagepack and point to the corresponding file but my theme was still in english – I hope this have something to do with the pathway issue.

    PLease some help in this problem.

    hälsningar… Stefan

  • http://www.stigfromoslo.com/ Stig Andersen

    Hey, thanks for posting. I’ll try to have a look at your issue tomorrow or over the weekend. I’ve only got my iPod handy right now and it’s not very handy for scripting… :P

  • http://www.plattityd.se stefan persson

    Hmm got your hands on a real computer yet ;-) ?

  • http://freepianoinstrumental.com piano instrumental

    thanks a lot! Just what I was looking for…

  • http://patrickleisegang.com Patrick Leisegang

    Takk!

  • http://www.stigfromoslo.com/ Stig Andersen

    Stefan: Sorry for making you wait almost a month for this. I guess by now you’ve found a way to fix your issue, but in all fairness – here is an attempt at an answer:

    To change the language of your WordPress installation, edit your wp-config.php and change this line

    define (‘WPLANG’, ”);

    to

    define (‘WPLANG’, ‘sv_SE’);

    This should make WordPress look for Swedish language packs.

    As to your path question I am not sure what you need. I did my work on a Windows computer and I have no idea how poEdit behaves on a Mac… Sorry.

    Again, sorry for the extremely late reply!

Switch to our mobile site