Viewing 1 replies (of 1 total)
  • Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @julianblauw,

    hope you’re fine? I’m not sure I understand well ^^
    If you want to use weglot to load your product via the rest API depending on you’re current language? If is that you can use the weglot_get_current_language() function to get this and use on your call API

    After that, if you treat the response directly on php, it should be translate automatically. If you use the json and treat it with some js you can try to translate the json using this filter : https://developers.weglot.com/wordpress/filters/translations-filters#use-case-1

    If you need more help on’t hesitate

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce products per language’ is closed to new replies.