-
AuthorPosts
-
August 29, 2015 at 9:43 pm #495374
Hi!
The German translation lacks of translations for the time units week, hour, .. (singular and plural) that are used by the countdown timer (that is e.g. used in the wedding demo). I checked it, and the countdown is not using static strings, so a translation will add support for it.
Could you please update the entries?
Thanks in advance!
August 31, 2015 at 2:11 pm #495786Hi thewilli!
we can’t translate the theme in every language existing. You can try to work with WPML or add translations manually using a plugin like: https://wordpress.org/plugins/loco-translate/
Cheers!
AndyAugust 31, 2015 at 2:16 pm #495793Hi Andy,
we can’t translate the theme in every language existing
sure, but I was a bit irritated, as there is a German translation, which is just incomplete (turned out the .po file contained few untranslated strings). So first it seemed like a bug to me..
Is there any way to add new translations to e.g. a child theme (I’m new to WP), so I can add my translations without modifying the .mo file of enfold itself, and break the ability to upgrade seamlessly?
Btw, do you accept patches for new translations?
Thanks and best regards,
Willi
August 31, 2015 at 2:48 pm #495845Hey,
i had the same problem.
solution is to add a sub folder to child theme called ‘lang’ (paste translation) and indsert the code below in functions.phpadd_action('after_setup_theme', 'avia_lang_setup'); function avia_lang_setup() { $lang = get_stylesheet_directory() . '/lang'; load_child_theme_textdomain('avia_framework', $lang); }
see desc. http://kriesi.at/documentation/enfold/child-theme-translations/
Regards Pete,
August 31, 2015 at 2:58 pm #495857Hey Pete,
thank you very much, just what I was looking for :)
Regards, Willi
September 1, 2015 at 6:13 am #496224October 1, 2015 at 9:09 pm #512439Hello,
why is the code above different from the one in the ENFOLD documentation?
Unfortunately none of them is working for me… :(October 2, 2015 at 7:13 am #512575Hi!
They are actually the same. The only difference is that in the documentation, we use the theme’s local filter (ava_theme_textdomain_path) to adjust the lang folder path. Do you have a child theme? Could you please provide a link to the actual site?
Regards,
IsmaelOctober 3, 2015 at 1:22 pm #513142Hi Ismael,
thanks for your fast answer. You will find the URL below this post.
Regards,
BastianOctober 5, 2015 at 10:52 am #513589Hey!
can you provide us admin access as well please? so we can have a deeper look into it. Post login details here as private reply. Make sure to use newest theme and WordPress versions.
Regards,
AndyOctober 5, 2015 at 11:20 am #513610You will find the details below!
October 5, 2015 at 11:48 am #513633Hi!
login does not work for me. Please check.
Regards,
AndyOctober 5, 2015 at 12:08 pm #513661Should work now! Please try again!
October 5, 2015 at 12:17 pm #513673Hi!
did you create a “lang” folder with .mo/.po files inside of it? Please follow the instructions here: http://kriesi.at/documentation/enfold/child-theme-translations/ and let us know when you are done and still need help.
Have a look at this thread as well: https://kriesi.at/support/topic/please-contribute-and-translate-enfold/
Regards,
AndyOctober 5, 2015 at 1:08 pm #513728Hi Andy,
Yes! I did that. I have a “lang” folder with .mo/.po files inside “wp-content/themes/enfold-child/”
I addition I’ve added this code to my “functions.php”
add_action('after_setup_theme', 'avia_lang_setup'); function avia_lang_setup() { $lang = get_stylesheet_directory() . '/lang'; load_child_theme_textdomain('avia_framework', $lang); }
October 5, 2015 at 1:27 pm #513743Hi!
then just use a plugin like poedit or loco translate.
Best regards,
AndyOctober 5, 2015 at 2:05 pm #513779Hi Andy!
Don’t get your last response. I used Poedit to edit the .mo/.po files and uploaded them to “wp-content/themes/enfold-child/lang/”
The problem is, Enfold is not using them.
Thanks in advance
BastianOctober 5, 2015 at 2:08 pm #513785Hi!
can you provide us FTP access, so we can check it? post login details here as private reply.
Regards,
AndyOctober 5, 2015 at 3:28 pm #513867Hi Andy,
you will find the details below.
Regards
BastianOctober 6, 2015 at 10:35 am #514266Hey!
actually we need FTP access as well. Can you provide us login details please?
Cheers!
AndyOctober 6, 2015 at 11:03 am #514282Hi Andy,
I added the login details again.
October 6, 2015 at 11:28 am #514298Hey!
ftp login does not work for me. Please check. Which port? I used 21 and it does not work.
Best regards,
AndyOctober 6, 2015 at 11:57 am #514315Alright… Sorry for this. Please try again with the new values.
October 6, 2015 at 12:28 pm #514326Hey!
thank you. Now can you show us which translations does not work for you? please show us precisely where you experience the issues.
Cheers!
Andy- This reply was modified 9 years, 2 months ago by Andy.
October 6, 2015 at 3:54 pm #514474Hi Andy,
I use the german language on my site. The Countdown Timer on my frontpage is still in english.
So the german translation for the countdown timer isn’t working. I did all the things you mentioned above but the Countdown Timer is still in english.Regards
BastianOctober 6, 2015 at 4:26 pm #514533Hi!
does it work for you when you make translations in the original po/mo files instead?
Regards,
AndyOctober 6, 2015 at 6:28 pm #514672Hi Andy,
I didn’t try that! Want to be safe if a new update is coming, so I’m using the Child Themes function.
Regards
BastianOctober 6, 2015 at 6:48 pm #514682Hi!
please try it and let us know about your results.
Regards,
AndyOctober 6, 2015 at 7:10 pm #514700Hi,
I’ve checked the german .mo/.po files in “wp-content/themes/enfold/lang/ and I had translated them earlier.
So I don’t know why Enfold don’t like my german .mo/.po files…
Regards
BastianOctober 7, 2015 at 9:42 am #515051Hey!
does this mean translation does not work for you? then it won’t work using child theme neither of course.
Try to delete all theme files via FTP and get a fresh copy from your themeforest account, because maybe there are some corrupted theme files. Don’t forget to clear browser cache and hard refresh a few times after making translations.Cheers!
Andy -
AuthorPosts
- The topic ‘German translation misses time units for countdown timer’ is closed to new replies.