Now this actually works, inserts the language valuse if they dont already exist, however it will fail if the number of languages surpass 127, because the locale_id is a tinint(4) and will only go up to 127
Procedure to update locales table in database, calls insertlocalses repeatedly until all languages have been covered To add a new language, you nee only to add a line: insertLocal(language_iso_code, country_iso_code, description, direction)