Locale
public class Locale : Resource, FlatResource, Decodable
extension Locale: EndpointAccessible
A Locale represents possible translations for Entry Fields
-
System fields.
Declaration
Swift
public let sys: Sys -
Linked list accessor for going to the next fallback locale
Declaration
Swift
public let fallbackLocaleCode: LocaleCode? -
The unique identifier for this Locale.
Declaration
Swift
public let code: LocaleCode -
Whether this Locale is the default (if a Field is not translated in a given Locale, the value of the default locale will be returned by the API)
Declaration
Swift
public let isDefault: Bool -
The name of this Locale
Declaration
Swift
public let name: String -
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public static let endpoint: Endpoint
View on GitHub
Locale Class Reference