Translation

Follow

Comments

5 comments

  • Coşkun Toprak

    I translated menus on 2.7.1 version. when i updated to 2.7.2 all translations gone. Why? There should be a way to keep translations page or need to reconsider update method.

    Comment actions Permalink
  • Aqib
    Hi @Coskun Toprak,
    1. Use loco translate plugin
    2. In loco translate there is option to save languages file outside theme, you need to save outside theme, if you save inside theme then when you update, translate will be overwritten  https://tppr.me/5DxZs

    Thank you for reaching out to us. I understand that you have translated menus using the Loco Translate plugin on version 2.7.1 of the Houzez theme, but when you updated to version 2.7.2, all the translations were lost.

    Firstly, I would like to clarify that when you update the theme, the update process may overwrite some of the files, including the language files where the translations are stored. This is why you may have lost the translations that you had done on the previous version of the theme.

    To avoid this issue in the future, I would suggest that you follow the recommended best practice of saving the translation files outside the theme folder. You can do this by using the Loco Translate plugin to create a custom language folder for your theme and save the translation files there.

    To do this, you can follow these steps:

    • Install and activate the Loco Translate plugin
    • Go to the “Loco Translate” menu in your WordPress dashboard
    • Find the Houzez theme in the list of themes and click on it to open the translation editor
    • Click on “New language”
    • Choose the language you want to translate to and click “Start translating”
    • Translate the menus and save the translation files in the custom language folder

    By doing this, the translations will not be overwritten when you update the theme, as they are stored in a separate folder.

    I hope this helps. If you have any further questions or concerns, please feel free to let us know.

    Thanks.

    Comment actions Permalink
  • Salmon Dex

    I would also recommend to use the free version of the "Automatic Translate Addon for Loco".

    And in case if you use a child theme:

    In the functions.php of the child theme, add the following lines of code directly below the <?php line

    function my_child_locale() { load_child_theme_textdomain( 'THEME-TEXTDOMAIN', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_locale' );

    @Team

    Many plugins are translated via Translate WordPress. For your plugins ( houzez-CRM / houzez-login-register / houzez-theme-functionality / houzez-woo-addon ) you can suggest missing translations directly via translate.wordpress.org (requirement: a wordpress.org account). If there is a PTE (Plugin Translation Editor) for the plugin, the changes are usually released relatively promptly.

    If you still ask the community, we will all be very happy to help you with the translation!

    Comment actions Permalink
  • Arton McCain

    A good multisite language switcher is Bogo (from Contact Form 7 developer)

    https://wordpress.org/plugins/bogo/

    Comment actions Permalink
  • ayoub

    @Salmon Dex 

    pleas can help me i didnt know how tranclet with wpml and no find any Articles Explains the topic clearly

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk