Your script seems to work like a charm :)
Is there a variable I can use that represents the current language selection? I want to display a different banner depending on the language and was thinking of just doing a prefix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since the Translation class is a child of the language class, you can use all Language function with a translation object too. In your case that yould be
$translationobject->getLang()
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your script seems to work like a charm :)
Is there a variable I can use that represents the current language selection? I want to display a different banner depending on the language and was thinking of just doing a prefix.
Since the Translation class is a child of the language class, you can use all Language function with a translation object too. In your case that yould be
$translationobject->getLang()