Hi, I started recently working on adjusting a WHMCS module and have a question about the language override structure which is raising some questionmarks at this point. Hope someone could help me out in explaining this one.
Language overrides are done in the /lang/overrides/ folder as well as in the /modules/addon/*modulename*/lang/ folder. I have a question about both which so far I have not been able to answer myself.
1. Are the values in the /lang/overrides/ $_LANG array indexed and stored in the database somewhere, or are these values overwritten and lost in the event another package also includes a translation file in that same language?
2. I'm encountering a problem where a value in $_LANG in /modules/addon/*modulename*/lang/ does not get passed on to the client environment of WHMCS. Only the admin environment. Is this a well considered seperation of translation for the customer and admin environments, or should this normally work?
Is there any documentation about best practises about this subject?
Thanks in advance for any response.