WordPress.org

Ready to get started?Download WordPress

Forums

MarketPress - WordPress eCommerce
[resolved] Translate Marketpress Lite (8 posts)

  1. krizz
    Member
    Posted 9 months ago #

    Hi
    I need som help translating Marketpress Lite to dansih. I tried to use "easy translator" and "loco" but it won't work. When I try to translate the marketpressplugin nothing happens to the sites I try to translate. Any suggestions?

    Best regards
    Christian

    http://wordpress.org/plugins/wordpress-ecommerce/

  2. 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.

  3. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 7 months ago #

    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!

  4. Meet A Cyclop
    Member
    Posted 7 months ago #

    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

  5. Ashok
    WPMU DEV Support Staff
    Posted 7 months ago #

    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

  6. Meet A Cyclop
    Member
    Posted 7 months ago #

    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

  7. 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.

  8. Meet A Cyclop
    Member
    Posted 7 months ago #

    Hello Jack!

    Oh I see! Thanks a lot for the help :)

Reply

You must log in to post.

About this Plugin

About this Topic