1
I need to know what language the site is using for a module I am doing. Is there an easy method to check what language the site is set to use?
I suppose I could use a ...
define('_Lang_', 'EN');
in one of the language files but I am guessing xoops keeps track of the language it is using and I should be able to look at that.
I am saving data to a database and want to do it based on the language in use by the site.
For example...
I am setting up a dynamic field that the description will be entered by the user. But I want there to be a description that will be displayed depending on the language in use. The user will need to enter the description for each language then when the module runs it should show the description for the language in use...
So I need to know how to tell what language the site is using.
Rodney