This topic is locked

Translation of a 'custom text'

10/13/2008 10:35:25 AM
PHPRunner General questions
K
kjp author

Translation of a "custom text" on a page
Please, Mister PLUS!!
After the translation of menu, labels...

Automatic whith the choosen language...
Is there any oportunity to also translate a custom text
like on your demo site, the text in the red box... "Extra features on this page:...."
http://livedemo.asprunner.net/phprunner/li...anguage=English
Kjp

J
Jane 10/13/2008

Hi,
you can tranlsate custom text in your custom event directly.

Here is a sample:

if ($_SESSION["language"]=="English")

echo "custom features";

if ($_SESSION["language"]=="French")

echo "particularité caractéristique";