Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #592033

    Hi there,
    I’m kind of familiar by now with the Enfold theme. Als with integration of Loco translate. It’s great to see that the Dutch language is already integrated in Loco Translate :-) but I don’t now how to activate the Dutch language in front-end. I have tried several things and I check with the homepage, below the blog items, there is a load more button. If I see that is Dutch I know it’s working.

    Hope you can help.

    Peter-Paul

    #594235

    Hey norm4u!

    Thank you for using Enfold.

    We relocated the masonry scripts in the helper-masonry.php file but the translation files still points to the masonry_entries.php file. Please install the POEdit software then modify the enfold > lang > nl_NL.po file. Add this line at the very bottom:

    # @ avia_framework
    #: config-templatebuilder/avia-shortcodes/helper_masonry.php:339
    msgid "Load more"
    msgstr "Toon Meer"

    Save it afterwards.

    Cheers!
    Ismael

    #594285

    Okay, so I should not use loco translate plugin?

    I have done what you have advised. Where should I upload the generate .po and .mo file? I work with a child-theme.

    #595626
    #595708

    Hi,

    I have followed all the steps, but the ‘load more’ button is not translated.

    What am I doing wrong?

    #595709

    On this page you can also see that translation isn’t working. :-/

    #595721

    Hi!

    Can you please try using this free software to edit your language files – http://poedit.net/?

    Regards,
    Yigit

    #595740

    Loco translate plugin is already gone. I’m using poedit. Again: I have done al advised steps but it does not work. You have login credentials. Please check it.

    #595824

    Hi!

    Just checked and I can see that the translated strings are not done properly.
    Can you explain what you do and how you upload files after?

    Regards,
    Basilis

    #596207

    Hi,

    I went back to plugin loco translate. All is translated correctly except string ‘load more’

    #598047

    Hey!

    I edited the string in enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php file. Please review your website now

    Regards,
    Yigit

    #598285

    Yes, that’s it! Thanks
    and is this a definite change? Does it stay like this when updating the Enfold theme, or plugin?

    #600221

    Hi!

    It will be overwritten by future updates. We are currently working on the issue. Please wait for our update.

    We regenerated the nl_NL language files and put it in the child the theme folder. Add this in the functions.php file:

    add_action('after_setup_theme', 'avia_child_lang_setup');
    function avia_child_lang_setup() {
    	remove_action('after_setup_theme', 'avia_lang_setup');
    	$lang = get_stylesheet_directory() . '/lang';
    	load_theme_textdomain('avia_framework', $lang);
    }

    I noticed that you copied the whole functions.php file in the child theme. Why is that?

    Regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.