Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #804590

    Hi,

    I’m using WPML. How do I change the language of the Animated Countdown – days, hours, minutes, seconds

    #805768

    Hey connect4consulting,

    1.) The language files are located in the theme’s lang folder.
    2.) Yes, the portuguese (pt_BR.mo & pt_BR.po) language files are available in the lang folder.

    Open the pt_BR.po file in poedit software then translate these lines:

    #: ../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 “”

    Put the translation inside the “msgstr” entry.

    For more info, please refer to this link: https://doc.osclass.org/Translating_and_editing_language_files_(.po_and_.mo)

    Best regards,
    Basilis

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