Forum Replies Created
-
AuthorPosts
-
I have found another way to fix this problem:
Go to
wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\countdown.phpalmost on the bottom, in my file starting in line 189 you will find
1 => array(“interval” => 1000 , ‘class’=>’seconds’, ‘label’ => __(‘Second’, ‘avia_framework’ ), ‘label_multi’ => __(‘Sekunden’, ‘avia_framework’)),
2 => array(“interval” => 60000 , ‘class’=>’minutes’, ‘label’ => __(‘Minute’, ‘avia_framework’ ), ‘label_multi’ => __(‘Minuten’, ‘avia_framework’)),
3 => array(“interval” => 3600000 , ‘class’=>’hours’, ‘label’ => __(‘Hour’, ‘avia_framework’), ‘label_multi’ => __(‘Stunden’, ‘avia_framework’)),
4 => array(“interval” => 86400000 , ‘class’=>’days’, ‘label’ => __(‘Day’, ‘avia_framework’ ), ‘label_multi’ => __(‘Tage’, ‘avia_framework’)),
5 => array(“interval” => 604800000 , ‘class’=>’weeks’, ‘label’ => __(‘Week’, ‘avia_framework’ ), ‘label_multi’ => __(‘Wochen’, ‘avia_framework’)),
6 => array(“interval” => 2678400000 , ‘class’=>’months’, ‘label’ => __(‘Month’, ‘avia_framework’ ), ‘label_multi’ => __(‘Monate’, ‘avia_framework’)),
7 => array(“interval” => 31536000000, ‘class’=>’years’, ‘label’ => __(‘Year’, ‘avia_framework’ ), ‘label_multi’ => __(‘Jahre’, ‘avia_framework’))Change the entries in the last part of each line according to your language:
So where I have ‘Sekunden’ or ‘Jahre’ etc put your words.
Do not change the first two english terms in each line!
TIP: use this in a child theme, so ypou wont have to do the works again, when enfold is updated.
All the best,
Karl -
AuthorPosts