Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • kickoffno1 Developer
    #882128

    Hi,

    how to translate Event Content Type related content, like "speaker, when, where?, day, hour, etc.

    Thanks,

    Rudolf

    pavit Moderator
    #882157

    Hi,

    how to translate Event Content Type related content, like "speaker, when, where?, day, hour, etc.

    Thanks,

    Rudolf

    Hi there

    You can edit this file /templates/ja_charity/html/layouts/joomla/content/item/event.php

    and change the JText values , for instance the tickets translation could be from :

    <span><?php echo JText::_('Tickets'); ?></span> 

    To :

    <span><?php echo JText::_('your translated text'); ?></span> 

    Hope it helps

    kickoffno1 Developer
    #882298

    Thanks, but this will brake in case of template update, won’t it?

    kickoffno1 Developer
    #882318

    Related question, how to translate event countdown on home page (day, hour, min, sec)? Seems that template refers to a helper class somewhere.

    pavit Moderator
    #882332

    Thanks, but this will brake in case of template update, won’t it?

    You can add a translation string into JText changing it in

    <span><?php echo JText::_('YOUR_TRANSLATION'); ?></span>  then add the YOUR_TRANSLATION string into 
    languages->Override->New 

    Related question, how to translate event countdown on home page (day, hour, min, sec)? Seems that template refers to a helper class somewhere.

    Try to take a look at THIS TOPIC

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

This topic contains 4 replies, has 2 voices, and was last updated by  pavit 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum