Home Forums Masterstudy – Education WordPress Theme Countdown module: translate texts Days, Hours, Minutes, Seconds

This topic contains 6 replies, has 3 voices, and was last updated by  Axel 2 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5547

    Lia Liali
    Member

    How can I make translatable the texts: Days, Hours, Minutes, Seconds ?

    I use WPML, I’ve set it to treat all texts in php code as translatable.
    I am not a php expert, still I’ve checked the file jquery.countdown.js and these texts ARE NOT in a <?php _e(‘My text’, ‘stm_domain’); ?> command which I think makes it translatable as other texts in other php files.

    I need this, can something be done?

    Thank you for your help in advance.

    Rerards

    #5548

    Lia Liali
    Member

    I forgot to say I use MasterStudy 1.6.2

    #5554

    Felix
    Moderator

    Hi,
    Please follow this tutorial in order to change static strings through theme language files.

    Change Static Strings

    regards

    #5578

    Lia Liali
    Member

    Thank you for replying Felix, I definately followed your Change Static Strings link. I had already tried it out actually. I use Poedit, these strings don’t show up in the en_GB.po file, that’s why I said they are not translatable.

    Any other suggestions for a modification I can apply in the jquery.countdown.js file (or elsewhere), in order to achieve my goal, would be appreciated.

    Thank you.

    Regards

    #5582

    Felix
    Moderator

    Hi,
    Please try to change these strings in a ”../masterstudy/assets/js/jquery.countdown.js” file (line: 80).

    regards

    #5586

    Lia Liali
    Member

    Thanks.

    #5589

    Axel
    Moderator

    You are welcome!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.