Okay
  Public Ticket #1561281
Using PolyLang to translate
Closed

Comments

  • SensMedia started the conversation

    Hi,

    At first we installed the theme using only one language: English. But then we  needed Romanian and Italian too. For translating purposes, in all opur projects, we use PolyLang.

    We already had the content in English for the Homepage (Wordpress static page) so we saved it as a template. Then, we created another page as the homepage in Romanian, which had no content at first. We loaded the template saved from the English homepage into the Romanian homepage to have the same structure and proceeded to translate the texts. When finished, after saving, the Romanian homepage had the content translated with the same structure as the English homepage but the English homepage had no content. It dissappeared after saving the Romanian homepage modifications.

    Can you help us with that? I saw that the content is saved in a custom field in postmetas, related to that page and named "fw:opt:ext:pb:page-builder:json" but we don't know why, when using the templates, it changes the custom field for the initial page too - in this case the English homepage. Not just that of the current page it is linked to - in this caase the Romanian homepage. The pages have different IDs, that's why it is so strange what happens.

    Thanks.

    PS: If I wasn't clear please tell me and I will try to explain again. Also if you need credentials to login and see what I'm talking about, please let me know at [email protected]

  •  1,692
    Andrey replied

    Hello, Dear Customer! 

    Thank you for your question.

    We have the good experience of using qTranslateX plugin with this theme. 

    Our theme has good compatibility with qTranslate plugin. This is the excellent plugin which allows to create multilingual wordpress websites:

    https://wordpress.org/plugins/qtranslate-x/

    In order to translate some specific areas in theme we use Loco Translate: https://wordpress.org/plugins/loco-translate/

    These 2 plugins will help you to use several languages on your website.

    Also please guide these articles about how to use qTranslate and Loco Translate:

    https://sketchthemes.com/effective-steps-to-translate-your-wordpress-theme-using-qtranslate-x/

    https://qtranslatexteam.wordpress.com/multilingual-fields/

    https://qtranslatexteam.wordpress.com/integration/

    http://www.wpzoom.com/tutorial/translate-theme-loco-translate-v-1/

    https://localise.biz/wordpress/plugin/beginners

    Here is a simple guide about using several languages on your website with qTranslateX:

    Place all text on pages in the appropriate tags for necessary language.

    As an example , click WP Dashboard => Pages => All Pages => Home page. Click the necessary text block or Heading Element: http://nimb.ws/DdGaPE

    Place spanish text inside [:es] your text [:] tags. Place brazilian text inside [:pb] your brazil text [:] Then save this modifications in element: http://nimb.ws/62Yisz

    Update page: http://nimb.ws/QO2qmD

    We hope these instructions will help you.

    Best Regards!


  • SensMedia replied

    Thanks.
    We already translated some part of the site using PolyLang: over 30 products from WooCommerce.
    Based on your answer it seems that we have to start over.

    Ticket can be closed.