Tagged: yigit
-
AuthorPosts
-
March 2, 2016 at 1:11 pm #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
March 7, 2016 at 12:10 pm #594235Hey 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!
IsmaelMarch 7, 2016 at 1:51 pm #594285Okay, 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.
March 9, 2016 at 4:06 pm #595626March 9, 2016 at 5:57 pm #595708Hi,
I have followed all the steps, but the ‘load more’ button is not translated.
What am I doing wrong?
March 9, 2016 at 6:00 pm #595709On this page you can also see that translation isn’t working. :-/
March 9, 2016 at 6:24 pm #595721Hi!
Can you please try using this free software to edit your language files – http://poedit.net/?
Regards,
YigitMarch 9, 2016 at 6:45 pm #595740Loco 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.
March 9, 2016 at 9:13 pm #595824Hi!
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,
BasilisMarch 10, 2016 at 10:52 am #596207Hi,
I went back to plugin loco translate. All is translated correctly except string ‘load more’
March 15, 2016 at 12:18 am #598047Hey!
I edited the string in enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php file. Please review your website now
Regards,
YigitMarch 15, 2016 at 10:26 am #598285Yes, that’s it! Thanks
and is this a definite change? Does it stay like this when updating the Enfold theme, or plugin?March 18, 2016 at 11:48 am #600221Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.