News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How the language array is defined

Started by navarretemarce, August 11, 2010, 07:15:29 AM

Previous topic - Next topic

navarretemarce

I am working in tuning up a free mod for multilingual support and need some advice

1- Is the languages variable an Associative array or a Multidimensional array (multidimensional I guess...)?
2- Were, I mean in which file are the languages and language array defined?
3.- Are the variables "languages" and "language" stored in the database? or only defined in a file?

Thanks

navarretemarce

So many users and no response?...
Ok, I find it out by myself... if someone else is interested...
The installed languages are stored in the $context variable as $context['languages'] grabbed from the language files. Nothing in database I could find... so modifiying the $context is a really bad idea.
I will try other way.

Advertisement: