Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #609029

    Hey there
    I cannot find where to translate HOURS DAYS etc for Events countdown
    I’ve managed to change Upcoming title into what i need but i dont see where to change rest of it
    I was editing events_countdown.php in avia_shortcodes file
    Im using enfold 3.3.2

    #609035

    Hey cyberhrc!

    Please install this free software – https://poedit.net/ and edit language files in Enfold/lang folder

    Best regards,
    Yigit

    #609038

    hey there
    i’ve tried that too before :)
    Made new translation from enfold.pot file
    Translated that 4 strings i need, saved as hr_HR.mo and .po, uploaded back in enfold language folder – still not working :|
    translating strings for event plugin was ok so only shortcode is left :(
    latest wp

    i doubti need to define hr_HR in wp-config anymore ?

    • This reply was modified 8 years, 8 months ago by cyberhrc.
    #609172

    Hi!

    Yes, u still need to defint it, so it can work properly.
    Language file has to be ” loaded ” somehow, and that is the way

    Best regards,
    Basilis

    #609249

    Hey,
    u got me wrong :)
    i DO have a file called hr_HR.po and hr_HR.mo in enfold/lang directory
    but those translations i entered inside are not showing up on main page

    #610600

    Hi!

    Please check the .po file then look for these strings:

    #: ../config-templatebuilder/avia-shortcodes/countdown.php:25
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:187
    msgid "Second"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:26
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:78
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:188
    msgid "Minute"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:27
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:69
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:189
    msgid "Hour"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:28
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:190
    msgid "Day"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:29
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:191
    msgid "Week"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:61
    #: ../config-templatebuilder/avia-shortcodes/masonry_entries.php:116
    #: ../config-templatebuilder/avia-shortcodes/portfolio.php:162
    #: ../config-woocommerce/config.php:1002
    msgid "Date"
    msgstr ""
    

    Add the translations manually. If you have the poedit software, use it to generate the .mo file.

    Cheers!
    Ismael

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