Available on php
See also:
https://www.php.net/manual/en/class.locale.php
@:phpClassConststaticfinalread onlyACTUAL_LOCALE:String
@:phpClassConststaticfinalread onlyDEFAULT_LOCALE:Null<String>
@:phpClassConststaticfinalread onlyEXTLANG_TAG:String
@:phpClassConststaticfinalread onlyGRANDFATHERED_LANG_TAG:String
@:phpClassConststaticfinalread onlyLANG_TAG:String
@:phpClassConststaticfinalread onlyPRIVATE_TAG:String
@:phpClassConststaticfinalread onlyREGION_TAG:String
@:phpClassConststaticfinalread onlySCRIPT_TAG:String
@:phpClassConststaticfinalread onlyVALID_LOCALE:String
@:phpClassConststaticfinalread onlyVARIANT_TAG:String
staticacceptFromHttp(header:String):String
staticcanonicalize(locale:String):String
staticcomposeLocale(subtags:NativeAssocArray<String>):String
@:value({ canonicalize : false })staticfilterMatches(langtag:String, locale:String, canonicalize:Bool = false):Bool
staticgetAllVariants(locale:String):Null<NativeIndexedArray<String>>
staticgetDefault():String
staticgetDisplayLanguage(locale:String, ?in_locale:String):String
staticgetDisplayName(locale:String, ?in_locale:String):String
staticgetDisplayRegion(locale:String, ?in_locale:String):String
staticgetDisplayScript(locale:String, ?in_locale:String):String
staticgetDisplayVariant(locale:String, ?in_locale:String):String
staticgetKeywords(locale:String):NativeAssocArray<String>
staticgetPrimaryLanguage(locale:String):Null<String>
staticgetRegion(locale:String):Null<String>
staticgetScript(locale:String):Null<String>
@:value({ canonicalize : false })staticlookup(langtag:NativeIndexedArray<String>, locale:String, canonicalize:Bool = false, ?defaultLocale:String):String
staticparseLocale(locale:String):Null<NativeAssocArray<String>>
staticsetDefault(locale:String):Bool