Zen Cart Logo
Forums / Addon Sideboxes / News Box Manager - language in wrong file

News Box Manager - language in wrong file

Locked

Views: 1,835

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
25 Dec 2006, 10:04 PM
#1
erwin208 avatar

erwin208

New Zenner

Join Date:
Nov 2005
Posts:
44
Plugin Contributions:
0

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?

20 Feb 2007, 7:35 AM
#2
maleborg avatar

maleborg

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
1

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