Thank you for using antisocialmediallc.com themes and contributing to the improvement of antisocialmediallc.com products by posting to the forums. At this time there is only one developer trying to maintain a number of different products. That developer is also the sole support technician maintaining and up-keeping not only the products here but also on some other websites. This means that sometimes responses will not be immediate. Often you will find your question has already been asked and answered somewhere on the site either in the forums or as comments to posts. Please take some time to search the site if you are not receiving a timely response to your question or use the contact form to make a direct inquiry.
You must be logged in to post Login Register

Search Forums:


 






.po file for Producer

Topic Tags: No Tags

5:23 am
March 17, 2010


wynjames

Bangor, Wales

Member

posts 5

The problem with the Category Name displayed as a header to the featured columns probably has something to do with the get_categories call in functions.php. There may be an issue here with the qTranslate plugin – and so I've posted on their forum. However, any suggestions as to how to resolve this problem would be gratefully received.

12:17 pm
March 16, 2010


wynjames

Bangor, Wales

Member

posts 5

Producer does not work properly in a multilingual environment, when used in conjuction with a language switching plugin such as qTranslate. One problem arises in the Producer Standard Options setup, when specifying the Featured Categories. The drop-down boxes used to select the Featured Categories appear to be gettexted – the consequence being that the category name is saved in one language only. The solution lies in removing gettext here but gettexting the category name output (e.g. in Featured1.php etc.). I have yet to locate the admin files for the Producer Standard Options to attempt this myself, so any pointers would be gratefully receieved.

7:09 am
March 14, 2010


wynjames

Bangor, Wales

Member

posts 5

I spent a long time generating a reply to my own post and it didn't get added for some reason Yell. Anyway, here's the gist of my solution.

Use the link I gave previously to generate the po files you need (I got four but only needed the "Producer.po" file). I created my translations using Poedit. I uploaded the compiled version of the translated po file as cy_GB.mo to the Producer base directory.

Finally I amended functions.php in the theme base directory by inserting a single line of code after the first line, consisting of:

load_theme_textdomain('Producer');

9:38 am
March 13, 2010


wynjames

Bangor, Wales

Member

posts 5

Have managed to generate po files for Producer using this tool: http://www.icanlocalize.com/to…..hp_scanner . However I do not know what to call the .mo generated files, nor where to place them. I've tried all sort of possibilities e.g. cy_GB.mo producer-cy_GB.mo and Producer-cy_GB.mo with no joy. I've placed them in the Producer root directory, amongst other things. Any suggestions?

6:03 pm
February 23, 2010


wynjames

Bangor, Wales

Member

posts 5

Is there a .po file available for Producer? I would like to create a Welsh translation.

Also, where should the .mo translation be situated with respect to the theme files?


Thanks a lot – I think your themes are seriously good.

Topic Tags: No Tags


Enquiry Form

Feel Free to ask us anything Send us a line and we'll contact you right back.

Follow My Twitter Subcribe My FAcebook