Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support

Translation didn’t work.

by

› Forums › Post Pay Counter PRO › Support › Translation didn’t work.

We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.

  • This topic has 12 replies, 2 voices, and was last updated 9 years, 6 months ago by Stefano.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • March 1, 2015 at 7:11 pm #35889
    Mo
    Keymaster

    Hi,

    The translation in the lang file at “post-pay-counter” worked very well when I changed the .mo file name to ppc-ar.mo
    However, the .mo file in the lang file at “post-pay-counter-pro” did not work, even when I changed the name to ppcp-ar.mo

    Any suggestions?

    March 1, 2015 at 10:26 pm #35900
    Stefano
    Keymaster

    Hi there,
    The translation system is just the same for both plugins, so it’s quite weird that what worked for the free hasn’t for the PRO. I assume you’ve done the same steps for both plugins, right?

    Have a nice day,
    Stefano

    March 1, 2015 at 11:28 pm #35903
    Mo
    Keymaster

    The same steps were done for both!
    ppc-ar.mo worked on the free one.
    ppcp-ar.mo did not work on the paid one.

    March 2, 2015 at 9:07 am #35928
    Stefano
    Keymaster

    And have you changed the language in the file header as well?

    March 4, 2015 at 8:41 pm #36038
    Mo
    Keymaster

    I did not get what you mean by “file header” ?

    Anyhow, would you assist me on how to change the following to choose the language file I want.

      function load_localization() {
            load_plugin_textdomain( 'ppcp', false, dirname( plugin_basename( __FILE__ ) ).'/lang/' );
        }
    March 4, 2015 at 10:16 pm #36052
    Stefano
    Keymaster

    I haven’t really understood what you are trying to achieve. The PRO version is currently translated in three different languages other than English: Italian, German, French. If your blog is in one of these languages, the appropriate language will be automatically selected. Are you trying to translate the plugin in another language? In that case, you need the template file… Please details some more!

    Have a nice day,
    Stefano

    March 4, 2015 at 11:37 pm #36062
    Mo
    Keymaster

    Hi
    I’m trying to translate it to Arabic (ar).
    The Free one worked just fine when I changed the .mo file.
    What template file I should look at? My blog is in Arabic.
    Thanks.

    March 5, 2015 at 11:11 am #36106
    Stefano
    Keymaster

    I don’t see how renaming the .mo file would change the translation to arabic. You need to open the .po file and retranslate everything, and then save it as ppcp_ar.

    March 5, 2015 at 11:21 pm #36147
    Mo
    Keymaster

    I opened the .po file and retranslated everything, and then saved it as ppcp_ar. And it did not work.
    It already worked for the free plugin, but not for the PRO.
    Anyhow, I’ll just keep trying. Thanks.

    March 6, 2015 at 12:47 pm #36184
    Stefano
    Keymaster

    One thing you may have not done is, in Poedit, go to the translation properties (I think it’s Catalog > Properties) and check the selected language is actually Arabic.

    May 19, 2015 at 12:19 am #41501
    marcos
    Keymaster

    I want to translate the from english to portuguese br (the automatic translation is very limited) but I cannot find the .po of english. In the lang of the plugin theres only the français, german, and other…

    May 19, 2015 at 7:08 am #41508
    Stefano
    Keymaster

    That’s great news! I usually give a discount on the PRO purchase to translators who are willing to have their translations included in public releases – since you’ve already purchased, unless you’re interested in other addons, I can give you a partial refund 🙂

    The free plugin portoguese translation was done some months ago by a brazilian guy, but certainly needs updating, whereas the PRO has none. Look at this tutorial (scroll down to the for translators part):
    http://betterwp.net/wordpress-tips/create-pot-file-using-poedit/
    You can find the pot file for the PRO in the /lang folder – I will email you the updated po file for the free version, so you can translate the missing strings (check in your spam folder as well please).

    Looking forward to hearing from you 🙂

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Translation didn’t work.’ is closed to new replies.

Your cart

Number of items in cart: 0

  • Your cart is empty.
  • Total: €0.00
  • Checkout

What are you looking for?

BEFORE POSTING

Before posting, please please please do have a look at our Documentation section. Your problem may be addressed there, allowing you to solve it without help from us :)

Copyright © 2025 · Centric Theme on Genesis Framework · WordPress · Log in