simple replacement of Locale.forLanguageTag as it does not exist in java6