Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    39
    Plugin Contributions
    0

    red flag News Box Manager - language in wrong file

    In includes/templates/MYTEMPLATE/sideboxes/tpl_news_scroll_box.php I find at the end

    $content .= '<a href="' . zen_href_link('news_archiv', '', 'NONSSL') . '">News Archiv</a>';

    --- but this ">News Archiv< is a piece of the english language, so it can't be used in my multilanguage site.

    How can I change this to work multilanguage?

  2. #2
    Join Date
    Oct 2006
    Posts
    24
    Plugin Contributions
    2

    Default Re: News Box Manager - language in wrong file

    Sorry, i forgot this text.

    For Multilanguage modify the file includes/template/template_default/sideboxes/tpl_news_scroll_box.php on line 177

    Overwrite
    $content .= '<a href="' . zen_href_link('news_archiv', '', 'NONSSL') . '">News Archiv</a>';

    with
    $content .= '<a href="' . zen_href_link('news_archiv', '', 'NONSSL') . '">' . TEXT_LINK_NEWS_ARCHIVE . '</a>';

    Repeat this on line 195

    Now open the file includes/languages/english/enxtra_definitions/news_scroll_box_defines.php

    Add at the the end of the file before the ?>
    define('TEXT_LINK_NEWS_ARCHIVE', 'News Archive');

    Repeat this step for all Languages you used in your shop.

    Greets
    MaleBorg

 

 

Similar Threads

  1. Have I been hacked? [not a hack attempt]
    By Rawksie in forum General Questions
    Replies: 9
    Last Post: 15 Jun 2006, 08:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •