Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Posts
    44
    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. News Box Manager
    By kinget in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Dec 2008, 08:30 PM
  2. News Box Manager
    By JeffD in forum Addon Sideboxes
    Replies: 3
    Last Post: 20 Feb 2007, 08:37 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR