function __t undefined !

Translations - translations for Phoca extensions
WorldReview
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 Dec 2009, 06:29

function __t undefined !

Post by WorldReview »

Hello Jan from Hong Kong,

Your module is great and globally works fine. thanks a lot ! However I have a problem with the language interaction.
Translation with joomfish works fine but in my general template I put some text and call the __t() function.
It works fine for others module but when I click or call the phoca galery I get this message

Fatal error: Call to undefined function __t() in /.../public_html/templates/corporatesolutions_2/index.php on line 525

As I am not expert, I only suspect an include not done in Phoca.

I guess it is not complicated issue and would love to solve this issue otherwise I cannot translate my footer in the general template.

Version used : 2.5.8
Joomla : 1.5.15
Joofish : 2.0.4

Many thanks for your expected answer and congratulation !
Guillaume.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: function __t undefined !

Post by Jan »

Hi,
I guess it is not complicated issue
I think too, but not for me :-( I see this problem first time and I don't know the template

(corporatesolutions_2)
/.../public_html/templates/corporatesolutions_2/index.php

and its code :-( so maybe the better way is contaction the template developer and ask why this error is ocurred there :(

Jan
If you find Phoca extensions useful, please support the project
Post Reply