• Resolved alFrame

    (@alframe)


    Hi there, This is a generic question.

    Is it possible to only translate the front-end of WooCommerce with Loco Translate?

    I would like the back-end to stay in English. But since the website is in Spanish and we are using Google Translate to translate the front-end, Google Translate doesn’t recognize the English words in the front-end when set to Spanish as the base language.

    Thanks in advance, Alex

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

    (@timwhitlock)

    Is it possible to only translate the front-end of WooCommerce with Loco Translate?

    Loco Translate is a file editor. As such it doesn’t know which strings are for the back end and which are the front end, or in fact anything about what the strings are for.

    I would like the back-end to stay in English

    I suggest setting the admin language of your user profile to English. This is a function of WordPress and not related to my plugin. Possibly it solves your problem.

    Thread Starter alFrame

    (@alframe)

    Thanks for getting back to me.

    What I wonder is if I can use Loco Translate to tell WooCommerce to use the Spanish .mo and .po files and thereby make sure that the “Add to Cart” etc. buttons are using the Spanish language?

    Thanks for the tip. I will check that out.

    Plugin Author Tim W

    (@timwhitlock)

    What I wonder is if I can use Loco Translate to tell WooCommerce to use the Spanish…

    Loco Translate doesn’t tell WooCommerce anything. Setting your WordPress site language to Spanish is what controls which translation files are loaded.

    Thread Starter alFrame

    (@alframe)

    Thanks again. From working with Loco Translate in the past I remember setting up, receptively linking .mo and .po files and changing them if needed (We had differences between Swiss and Swiss-German).

    So I was thinking the sorcerer of the plugin might be able to tell me if that’s possible. But it seems we’re talking past each other, or my memory might be tricking me.

    Plugin Author Tim W

    (@timwhitlock)

    To my knowledge WordPress officially supports de_CH and de_CH_informal.

    Loco Translate allows you to create any language with Switzerland as region. fr_CH for example. However, this is no different to what I’ve already described. It’s the WordPress site language that selects the variant.

    Thread Starter alFrame

    (@alframe)

    Thanks again.

    Long story short, switching WordPress to Spanish and then the user to English, like you suggested, works like a charm.

    I had the suspicion I was not unclear in explaining my problem and still you got me the solution.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Only translate front-end of WooCommerce’ is closed to new replies.