• Resolved retroriff

    (@retroriff)


    Hello,

    we have English as default language in WooCommerce. We use WPML to translate strings to Spanish. I see something weird after installing your plugin. WPML String Translation lists its strings in Spanishinstead but they an English flag. Please find an attached image

    I need the strings to be in English by default, and complete the translation to Spanish in String Translation or uploading the .po/.mo file. How to set it up?

    View post on imgur.com

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Zorem

    (@zorem)

    Hello

    We tried to replicate your issue but we did not get the same issue, it depends on your WPML settings, did you contact WPML support to try and ask them?

    In general if you do not connect your store with TrackShip, you do not need to translate the late shipment string you show in the screenshot.

    Thread Starter retroriff

    (@retroriff)

    Hello, thank you for your support. This is what WPML answered:

    Hello

    These are “admin texts” which correspond to plugin configuration options that were entered.

    They appear in the Strings Tranlsation table with the English flag because many plugins have declared their plugin language locale to be English and so they expect the configuration texts to be entered in English.

    In your case, someone entered the configuration values in Spanish. So the system expects you to enter English values but the text entered was in Spanish.

    This explains what happened.

    You can do one of 2 things:
    1. Go to the plugin configuration options and enter the values in English as the system is expecting. Then translate them into Spanish in the String Translation table. This is the optimal solution.

    2. Alternatively, it sometimes works to simply select the strings, scroll down to the bottom of the table and push the option to change the langauge of the selected strings.
    I say that this *someimtes* works because it depends how the plugins is written. If, at the time of displaying these values, the plugin code triggers our filters, then the correct option will be shown…..otherwise, it can appear that the values don′t translate and you need to go back to option 1 above.

    I hope this answers your concerns.

    I can’t find how to change the plugin configuration options, as option 1 suggests. I will try number 2 but I am afraid that it may fail again when we update to a newer version.

    Thank you

    • This reply was modified 4 years, 7 months ago by retroriff.
    Plugin Author Zorem

    (@zorem)

    Hi, ok
    Yes declare the plugin language locale to be English and so choose option 1:
    Go to the plugin configuration options and enter the values in English as the system is expecting. Then translate them into Spanish in the String Translation table. This is the optimal solution.

    When WPML say plugin configuration, it means our email customizer, you need to go to the customizer and remove the custom texts in Spanish and use the EN version of these texts and save. then in WPML string translation, translate these texts to Spanish.

    Thanks

    Thread Starter retroriff

    (@retroriff)

    That sounds good, but how to declare the plugin language locale to be English?

    Plugin Author Zorem

    (@zorem)

    No, you need to follow the steps WPML and we sent you.

    Thread Starter retroriff

    (@retroriff)

    All the strings that the plugin allows to customize are in English. Those are not the strings that I am trying to fix. Sorry if I didn’t explain it right. The strings that I am trying to set up in English are the ones shown on the screenshot I uploaded in my first message. Those strings appear on the plugin code and the plugin doesn’t allow to translate them. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WPML default language’ is closed to new replies.