test
Viewing 1 post (of 1 total)
  • Author
    Posts
  • yamabushi Friend
    #170855

    Hello Everyone,

    I’m currently implementing this template on a website which is in French. The whole site is based on K2 and I’ve the latest translation of K2 in French and it works like a charm. However, I’ve notice that I’ve mixed of French and English. So here is what I found that could be useful for anyone having a site in another language than English 🙂

    After quick investigation, I’ve notice that the K2 Template override is not calling the K2 translation key but uses hardcoded text.
    For instance I notice that my link “read more” is always in English. So I’ve edited the file category_item.php (in templates/ja_tiris/html/com_k2/templates/ja_tiris/category_item.php)

    Replace the following key
    [PHP]<span><?php echo JText::_(‘Read more’); ?></span>[/PHP]
    by
    [PHP]<span><?php echo JText::_(‘K2_READ_MORE’); ?></span>[/PHP]

    It would be great if in the next update of this template, the labels and any other text calls the K2 text key.

    Cheers 🙂

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  yamabushi 13 years, 1 month ago.

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