Tomas Cohen Arazi schreef op do 28-05-2015 om 11:01 [-0300]:
> The problem is that you need to have the CGI object in the desired
> context
> (language is "calculated" from it). Then use:
>
> my $current_language = C4::Languages::getlanguage($query);
> > if ($current_language == "en")
The other p
The problem is that you need to have the CGI object in the desired context
(language is "calculated" from it). Then use:
my $current_language = C4::Languages::getlanguage($query);
to set it.
2015-05-28 10:47 GMT-03:00 Abdulsalam Yousef :
> Hello all,
>
> I need to check and get the current inte
Hello all,
I need to check and get the current interface language to make some action
in Biblio.pm file, i mean like this
if ($current_language == "en")
{
make some action;
}
else {
make another action;
}
What is the used variable and code to do that?
Thanks.
_
3 matches
Mail list logo