public static MetaLocale fromLanguageTag ( String tag ) { if ( tag . indexOf ( ' ' ) != - 1 ) { tag = tag . replace ( ' ' , SEP ) ; } return fromJavaLocale ( java . util . Locale . forLanguageTag ( tag ) ) ; }
Constructs a MetaLocale from a language tag string .