1
Welcome, Guest. Please login or register.
November 22, 2008, 02:41:29 PM
Home Help Search Login Register
News: iJoomla Search and Archive for Joomla 1.5

+  iJoomla Forum
|-+  iJoomla Ad Agency
| |-+  Report Bugs
| | |-+  Translation is not getting through to mod_advertiser_menu
« previous next »
Pages: [1] Print
Author Topic: Translation is not getting through to mod_advertiser_menu  (Read 1743 times)
dirtydyvel
customers
Newbie
*
Posts: 6


View Profile Email
« on: March 02, 2008, 09:24:28 AM »

Hi

When you translate the languagefile then a e.g. danish.php file is created with your own translations, but the mod_advertiser_menu module is not using this newly created file, but it's using english.php file (seems hardcoded to the module).

line 29 in the module:
require_once($mosConfig_absolute_path."/components/com_ijoomla_ad_agency/languages/danish.php");

If I translate in the english.php then it comming through to the module, but else not.
Logged
RicardoCorai
customers
Hero Member
*
Posts: 2264


View Profile WWW
« Reply #1 on: March 03, 2008, 09:27:03 PM »

Hi,
Edit your mod_advertiser_menu.php and change this:
Quote
require_once($mosConfig_absolute_path."/components/com_ijoomla_ad_agency/languages/english.php");
...for your language:
Quote
require_once($mosConfig_absolute_path."/components/com_ijoomla_ad_agency/languages/danish.php");
Best regards,
Logged

Ricardo Corai
Moderator
www.planetacms.com
dirtydyvel
customers
Newbie
*
Posts: 6


View Profile Email
« Reply #2 on: March 04, 2008, 01:31:51 AM »

Yes I know how to do a "dirty fix" like this, but I just thought I'd let you know about the bug so you can fix it in the next release.

Thanks
Logged
RicardoCorai
customers
Hero Member
*
Posts: 2264


View Profile WWW
« Reply #3 on: March 04, 2008, 01:52:32 PM »

I will report this in order to be considered for future releases.
Thanks for your suggestion.
Best regards,
Logged

Ricardo Corai
Moderator
www.planetacms.com
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox