SwiftextensionTranslationUI
extension Foundation.Locale: TranslationUI.LanguagePickerElement
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structFoundation.Locale
inherits{}
Members 18
- func
static ensureSupported(locale: Foundation.Locale, availableLocales: [Foundation.Locale]) -> Foundation.Locale? - func
static fallback(for: Foundation.Locale) -> Foundation.Locale - var
static var ltCurrent: Foundation.Locale { get } - func
isRTL() -> Bool - func
isSimplifiedChinese() -> Bool - func
isTraditionalChinese() -> Bool - func
localizedString(forRegion: String, context: NSFormattingContext, short: Bool) -> String? - func
ltDefaultTarget(for: Foundation.Locale, availableLocales: [Foundation.Locale], map: [String : [String : String]]?) -> Foundation.Locale - func
ltLocalizedAppString(_: String, table: String, bundle: NSBundle) -> String - func
sqDisplayName(context: TranslationUI.DisplayNameContext, in: Foundation.Locale) -> String? - func
sqDisplaySubname(context: TranslationUI.DisplayNameContext, in: Foundation.Locale) -> String? - func
subtitle(opposite: Foundation.Locale?) -> String? - func
supportsVerticalText() -> Bool - func
title(TranslationUI.DisplayNameContext) -> String - var
var isChinese: Bool { get } - var
var languageIdentifier: String { get } - var
var ltIdentifier: String { get } - var
var ltLanguageCode: String? { get }
Header
extension Foundation.Locale: TranslationUI.LanguagePickerElement {}