Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Latestnews language problem on categories in admin


Laigle

Recommended Posts

Hello everyone , i have a small problem with the contribution LatestNews (http://www.oscommerce.com/community/contributions,1451/category,all/search,latestnews)

 

The contribution itself works quite good, i have intalled it on a MS2 where 5 different languages are also installed

But since the latestnews installation, the categories in admin are in english but my shop is in french by default.

And only the categories, i mean, everything else but the categories are in the default language french...

 

This contribution doesn't change the file admin/categories.php so i thought it could come from the database so i made this change from

 

CREATE TABLE `latest_news` (
 `news_id` int(11) NOT NULL auto_increment,
 `headline` varchar(255) NOT NULL,
 `content` text NOT NULL,
 `date_added` datetime NOT NULL default '0000-00-00 00:00:00',
 [b]`language` int(11) NOT NULL default '1',[/b]
 `status` tinyint(1) NOT NULL default '0',
 PRIMARY KEY  (`news_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 AUTO_INCREMENT=3;

 

to

 

CREATE TABLE `latest_news` (
 `news_id` int(11) NOT NULL auto_increment,
 `headline` varchar(255) NOT NULL,
 `content` text NOT NULL,
 `date_added` datetime NOT NULL default '0000-00-00 00:00:00',
 [b]`language` int(11) NOT NULL default '[color="#FF0000"]4[/color]',[/b]
 `status` tinyint(1) NOT NULL default '0',
 PRIMARY KEY  (`news_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 AUTO_INCREMENT=3;

 

but no change...

 

I have installed another database without latestnews changes but it is still the same.

 

if someone has ever met this error 'ill be glad to hear from him, cause i really don't see where the error could be... <_<

 

thank you for your help and i apologyse for my really bad english. :blush:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...