1
Hello all,
Is it really necessary to assign each language constant that you want to use?
Isn't it possible to directly use them as how they are named in the languagefiles?
This because if you have a lot of language constants, it's quite difficult to know if you have assigned all constants or not...
So, instead of doing this:
step 1) in language/english/main.php
define("_MD_YES", "YES");
step 2) then in module/index.php
$xoopsTpl->assign('lang_yes', _MD_YES)
step 3) in module/templates/index.html
<{lang_yes}>
isn't it possible to do only steps 1 and 3 and get rid of step 2?
Thank you for helping a newbie.
Koeneke