WordPress.org

Support

Support » Plugins and Hacks » MarketPress - WordPress eCommerce » [Resolved] Translate Marketpress Lite

[Resolved] Translate Marketpress Lite

Viewing 7 replies - 1 through 7 (of 7 total)
  • J K

    @jack-kitterhing

    WPMU DEV Support Staff

    Hi there Christian,

    Greetings and thanks for your question, sorry about the delay.

    Here are some instructions on translating this plugin 🙂

    1. First you’ll need to download and install Poedit. You can get it here: http://www.poedit.net/

    2. Download MarketPress Lite and unzip the file. Take a look in the languages folder. You’ll see a *.po file. This is the language template file provided by the plugin developer to allow it to be translated by WordPress

    3. Run Poedit, and open up that .po file. You will see the list of every text that is included with the plugin.

    4. Go through the list, and for each time you wish to change something, first click it in the list. You will see the “Source text” box update. Now just enter what you wish to be included instead of that text in the translation box.

    It’s a long list, so to quickly find instances of “store” be sure to use the “find” function (cmd+F on Mac, and ctrl+F on PC)

    5. When you’re done translating, click “Validate” to make sure there aren’t any errors.

    6. Now save the file. This will automatically create a .mo file. This is the compiled version of your translation that WordPress can read faster than the full text version.

    7. Rename the .mo file to include the country code. For example, with MarketPress it would be “mp-en_US.mo” Except replace the en_US part with whatever language code you need. You can find references to the codes here: http://codex.wordpress.org/WordPress_in_Your_Language

    8. Upload to your site and place in the languages folder of MarketPress (wp-content/plugins/wordpress-ecommerce/marketpress-includes/languages)

    9. Tell WordPress to look for translations. This can be done by placing the following line in your wp-config.php file:

    define(‘WPLANG’, ‘en_US’);

    As you did before when renaming the file, replace the en_US part with whatever language code you need. You can find references to the codes here: http://codex.wordpress.org/WordPress_in_Your_Language

    Hope this helps! 🙂

    Thanks!

    Kind Regards
    Jack.

    Hey there.

    We haven’t heard from you in awhile, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. 🙂

    Hope you have a fantastic day!

    Meet A Cyclop

    @meet-a-cyclop

    Hello,

    thank you very much for the information. I did everything and it worked very well. The only problem is that for some reason it’s still not translating some of the stuff. For example:

    “Please enter your shipping information in the form below to proceed with your order.”

    “Thank you for your order! We appreciate your business, and please come back often to check out our new products.”

    Do you have any ide how can I change it?

    Thank you in advance

    Hi Meet A Cyclop

    It’s translating fine for me. Just to make sure:

    1. Are you using poedit to translate the plugin?
    2. Are the following two lines translated?

    If you have any questions about your order please do not hesitate to contact us.

    – It should show in order status page.

    You are almost done! Please do a final review of your order to make sure everything is correct then click the “Confirm Payment” button.

    – It should show in Confirm Checkout page.

    Please let me know.

    Cheers
    Ash

    Meet A Cyclop

    @meet-a-cyclop

    Hi Ash,

    – yes, I’m translating with poedit.
    – no, those lines are actually not transalted too.

    I wonder why it’s happening. I wrote it with and without the <p> tag and there is no difference.

    thanks again

    J K

    @jack-kitterhing

    WPMU DEV Support Staff

    Hi there @meet A Cyclop

    Hope your well today and thanks for the additional information.

    Those lines should be able to be edited in the actual admin area, in product > settings 🙂

    Thanks!

    Kind Regards
    Jack.

    Hello Jack!

    Oh I see! Thanks a lot for the help 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Translate Marketpress Lite’ is closed to new replies.
Skip to toolbar