• Resolved onto241

    (@onto241)


    Hello, i am trying translate woocommerce shop. I need translate some words in default language. But than I am press Edit Translation nothing happening. With second language works fine.
    Thank you
    Best Regards

    • This topic was modified 5 years, 2 months ago by onto241.
    • This topic was modified 5 years, 2 months ago by onto241.
Viewing 1 replies (of 1 total)
  • Plugin Author oferwald

    (@oferwald)

    Hi,

    This is a common misunderstanding of what translate in default language is (it is probably so common as we didn’t properly explain it, or that it is hard to understand)

    Translate in default language does not mean it will allow you to change phrases that were written in the default language, but just that the parser will go over the page and will try to find segments that are marked with other “lang” attributes and translate them. The use case of this is mainly comments, when you have a few languages, and your users might comment on the same post with different languages, so if your original post is in English, and your commenter went to a Spanish page and naturally commented in Spanish, what will happen is that transposh will understand that, and will wrap the comment with a lang=es attribute

    Enabling translate in default language will allow users looking at the original English post to see that comment in English…

    If one wants to use Transposh as a frontend editing tool (why?) all that is needed is to wrap the default page html with a lang=xx tag, which will trigger the default language translation.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Cant translate default language’ is closed to new replies.