• Hi,

    After a suggestion from the team to check out this plugin instead of Easy Accept Payments via PayPal I have been playing around with it and am impressed so far. But I have a two-language website to put it on, and I noticed there is no wpml-config.xml file added. Do you have any plans to add this to make the interface (front-end) translatable? Thanks in advance,

    Rob

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Rob de Cleen

    (@rdc2701)

    For translating the button Stéphane Bouey (Falang multilanguage for WordPress) gave me this, works fine. Add file wpml-config.xml to the plugin dir:

    <wpml-config>
      <admin-texts>
        <key name="ppdg-settings">
          <key name="button_text"/>
        </key>
      </admin-texts>
    </wpml-config>
    sbouey

    (@sbouey)

    To complete the message from Rob,

    This is for the button configured in the settings of WP Express Checkout. For button with text configured directly in each product , you have to enable for WP Express checkout plugin Product the meta key translation wpec_product_button_text.

    After that you can translate this button text directly in each product translation

    Stéphane

    Plugin Author mra13

    (@mra13)

    Thank you. Is is possible to share a link to any documentation for this? I can then read up about it to get a better understanding so I can create the file correctly.

    Thread Starter Rob de Cleen

    (@rdc2701)

    Two links with explanation:

    WPML: https://wpml.org/documentation/support/language-configuration-files/

    Polylang: https://polylang.pro/doc/the-wpml-config-xml-file/

    Perhaps Stéphane can provide some extra info for Falang

    Plugin Author mra13

    (@mra13)

    We have added an xml file to the plugin.

    Thread Starter Rob de Cleen

    (@rdc2701)

    Excellent, thanks for your hard work!

    Perfect, i will make a list of all plugins working with Falang for WordPress

    Stéphane

    Thread Starter Rob de Cleen

    (@rdc2701)

    Hi guys,

    Thanks for the wpml-config.xml file included in the plugin. I am faced with a small issue, hope you can help me solve it.

    UK and US use comma (,) as a thousands separator, most European countries use period (.)
    UK and US use period (.) as a decimal separator, most European countries use comma (,)

    So I need a way to translate these as well, but the two entries in your wpml-config.xml file are commented:

    <!-- <key name="price_decimals_num" /> -->
    <!-- <key name="price_decimal_sep" /> -->

    Same goes for Total and Quantity in the front end display. Anyway you can help make these translatable? Thanks in advance

    Plugin Author mra13

    (@mra13)

    Hi, I am not sure if the currency formatting is part of translation or not. We do have a price formatting option within the plugin’s settings menu where you can specify what the decimal and thousand separator should be. Take a look at the “Advanced Settings” menu of the plugin.

    Let me know if that is something that is helpful for you.

    Thread Starter Rob de Cleen

    (@rdc2701)

    Hi,, thanks for getting back to me. Yes, the specification in the plugin of the thousand and decimal separator works fine, as does the translation of the descriptions in the backend. But for translations to have a different specification of those keys (, instead of . and . instead of ,) those two keys need to be translateable as well (to show on the frontend), which they are not now. So they are now fixed across languages as specified in the backend.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.