Turns the locales into languages by striping out the locale (the part that comes after the -)