Maybe I didn't understand you, but every lang variable works the sameZNC wrote:In Germany for nearly all sites it is necessary to use a legal notice like a imprint in newspapers and so on. In my special case I need for example a imprint in german and turkish, something like
...
You have a functionality called 'Hidden features ("Easter Egg")', something, which switches text between languages for static variables. Isn't it possible to increase this procedere? For example with the possiblity to set up like:
quicklanguage.php:and in overall_header.html a new line like:Code: Select all
$lang = array_merge($lang, array( 'QUICK_LANG_[customized variable]' => 'My individual text', ));
For example in my case in the german quicklanguage.php:Code: Select all
<li>{QUICK_LANG_[customized variable]}</li>
and in the german quicklanguage.php:Code: Select all
$lang = array_merge($lang, array( 'QUICK_LANG_IMPRINT' => '<a href=".../impressum.php" title="Impressum" lang="de">Impressum</a>', ));
and in the overall_header.html a new line:Code: Select all
$lang = array_merge($lang, array( 'QUICK_LANG_IMPRINT' => '<a href=".../kuenye.php" title="Künye" lang="tr">Künye</a>',));
So the multilingual requirements of your extension users will rounded off. Is that not possible?Code: Select all
<li>{QUICK_LANG_IMPRINT}</li>
best regards