Hello
I am looking for a query for MySql to get languages installed in Moodle, any advice?
Moodle Version 2.7
Regards
Thanks
Hi Edgar,
You don't need to use MySQL for this. Moodle has an API specifically for this purpose.
$langs = get_string_manager()->get_list_of_translations();
You'll find an example of this in the lang_menu() function found in moodle/lib/outputrenderers.php file.
Best regards,
Michael Milette
Ohh great,!! =) Thank you very much for your help, this is very helpful for me.
Regards