Add separator argument to getLanguageLocale

Allow overriding the default separator for getLanguageLocale.  It's sometimes useful to have the locale with an underscore instead of a dash.