MTSpecialLanguage

public enum MTSpecialLanguage : String, Codable

Custom language options.

  • The default language of the device.

    Declaration

    Swift

    case auto
  • The international name. This option is equivalent to OSM’s name int_name.

    Declaration

    Swift

    case international
  • The default fallback language in the Latin charset.

    Declaration

    Swift

    case latin
  • The local language for each country.

    Declaration

    Swift

    case local
  • The default fallback language in the non-Latin charset.

    Declaration

    Swift

    case nonLatin
  • The language defined by the style.

    Declaration

    Swift

    case style
  • Preferred language from the user settings and “default name”

    This mode is useful when a user needs to access both local names and English names, for example, when traveling abroad where signs are likely to be available only in the local language

    Declaration

    Swift

    case visitor
  • English and “default name”

    This mode is useful when a user needs to access both local names and English names, for example, when traveling abroad where signs are likely to be available only in the local language

    Declaration

    Swift

    case visitorEnglish