(2015-09-28, 16:53:42)Frens Wrote: Hi,
Furder:
Try to find the condition to get the current language
PHP Code:<?php
if ($LANG == 'de') {
echo 'lang is DE';
} ?>
But not good...
If you use the I18N plugin, you should test for
$language == 'de'
. If you use standard GS language handling, you should test for a language code in this format:
language_region
; for example: en_US
, in your case $LANG == 'de_DE'
... for a full list, check out the answers in this link