Here is the spec for language files of D3 modules.
XOOPS_TRUST_PATH/modules/(trustdirname)/language/(lang)/modinfo.php
$constpref = '_MI_' . strtoupper( $mydirname ) ;
if( ! defined( $constpref.'_LOADED' ) ) {
// a flag for this language file has already been read or not.
define( $constpref.'_LOADED' , 1 ) ;
define($constpref."_NAME","(name of the module)");
define($constpref."_DESC","(desc of the module)");
}
$modversion['name'] = constant($constpref.'_NAME') ;
$modversion['description'] = constant($constpref.'_DESC') ;
define( '_MD_A_(TRUSTDIRNMAE)_...' , '...' ) ;
...
define( '_MD_(TRUSTDIRNMAE)_...' , '...' ) ;
...
define( '_MB_(TRUSTDIRNAME)_...' , '...' ) ;
...
$constpref = '_MB_' . strtoupper( $mydirname ) ;
if( ! defined( $constpref.'_LOADED' ) ) {
// a flag for this language file has already been read or not.
define( $constpref.'_LOADED' , 1 ) ;
define($constpref."_...","...");
...
}
$block['lang_...'] = constant($constpref.'_...') ;
...