MASDKLocale
public struct MASDKLocale
This structure provides different enums for localizable strings related to Mini App SDK
-
This enum provides MiniApp UI and error related strings keys
See moreDeclaration
Swift
public enum LocalizableKey : String -
Method to retrieve a localizable from its key
Declaration
Swift
public static func localize(bundle path: String? = nil, _ key: String) -> StringParameters
paththe optional path to the bundle where the strings file is located
keythe key that defines the localizable in the strings file
Return Value
-
Method to retrieve a MiniApp SDK localizable from its key
Declaration
Swift
public static func localize(bundle path: String? = nil, _ key: LocalizableKey) -> StringParameters
paththe optional path to the bundle where the strings file is located
keya LocalizableKey that defines the localizable in the strings file
Return Value
MASDKLocale Structure Reference