Added method to get supported locales.
Check if locale already is present.