Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Diego

    (@daigo75)

    Yes, we follow the guidelines to ensure WPML compatibility with all our plugins.

    Hi Diego,

    I am unable to translate three strings on the frontend, namely:
    – EU VAT Number Title (if modified from default in plugin settings)
    – EU VAT Number Description (if modified from default in plugin settings)
    – Location Self Certification Description

    I haven’t been able to register those strings in WPML, as in the following screenshot:
    https://postimg.org/image/lw4x40g5v/

    Thanks a lot for your plugin and help,

    Best regards

    Plugin Author Diego

    (@daigo75)

    Robert, those strings are already passed to WPML using the wpml-config.xml file and the standard translation functions (in fact, you can already find some of them in the language files).
    You will simple have to translate them in the String Translation section. Just make sure that you select the correct context, as WPML changed the way it organises the strings some weeks ago.

    Thank you Diego. I couldn’t translate it anyhow in the String Translation section until I switched from: “Disable auto-register strings” to “Auto-register strings only when logged in as an administrator” and went to the checkout (as it registers strings that are displayed).

    Thanks for your great plugin and best regards

    Plugin Author Diego

    (@daigo75)

    Thanks for the information. Those strings should indeed be auto-registered (that’s what the wpml-config.xml file is for). I didn’t know that such feature could be disabled, I will have to keep that in mind for the future.

    Hello Diego,
    I have change some settings in the plugin. So i have this new displayed text:

    Due to European regulations, we have to ask you to confirm your location.

    I have be able to translate anything needed, but this one no… Any idea?

    Many thanks

    Plugin Author Diego

    (@daigo75)

    Hi lomars,
    That text is part of the strings passed to WPML for translation. I would suggest to check what robert.glez wrote, as you might not be seeing the string due to a WPML settings.

    Hello Diego,

    So the solution is:

    “To switch from:Disable auto-register strings to Auto-register strings only when logged in as an administrator“, because “WPML changed the way it organises the strings some weeks ago”…

    Many thanks ??

    Hi diego,

    It works…
    But at the begging i haven’t understand.

    So here are my explanations for other users.

    IN THE BACKEND:
    1) Go to WPML > String translation.
    2) At the end of the page change setting to “Auto-register strings only when logged in as an administrator“.

    IN THE FRONTEND:
    Display the page, where the string you want to register is located.

    IN THE BACKEND:
    1) Come back to WPML > String translation.
    2) Search for that string
    3) Now you can translate-it
    4) you can revert settings like before*

    *Because auto-registration takes much more server resources.

    Is the first time that this happen and i use a lot of different plugins that i have to translate partially + my child theme, the modificated templates of woocommerce …

    That is not normal… i think that there is a problem with that particular string.
    Because when i load the strings of your plugin without doing this, i get 226 translatable strings…

    Regards

    Plugin Author Diego

    (@daigo75)

    Actually, that text is treated exactly like any other. It’s a static text, passed to the localisation functions like any other (see file checkout-self-certification-field.php). It’s also included in the POT file (wc-aelia-eu-vat-assistant.pot).

    I would suggest to contact the WPML team to see if they can figure out why that text is treated in a special way.

    Note: in case they reply that the cause is related to the fact that the string is built with concatenation, that has nothing to do with it. Almost all text in the plugin is built with concatenation. ??

    Ok i will open a thread support over there… I will tell you about their feed back…

    Plugin Author Diego

    (@daigo75)

    Thanks. It may take a while for them to reply (I know that the WPML team is busy), but they should be able to figure that out. Make sure that you let them know that the string is in the POT and PO files too, so that they won’t have to figure that out.

    By the way, should you happen to have a translation file available for any additional language, please let me know and I will add it to the plugin. Thanks. ??

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