Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 1.41 KB

File metadata and controls

41 lines (39 loc) · 1.41 KB

Localized string

Global api

Returns a localized string, using the main bundle if one is not specified.

func KOLocalizedString(_ key: String, comment: String) -> String

Returns a localized string

func KOLocalizedString(_ key: String) -> String

Current language key

func KOCurrentLanguageKey()->String

Set Language

func KOSetLanguage(_ key:String)

Get localized image with name and type file. if not found file return empty UIImage

func KOLocalizedImage(forResource:String,  ofType:String)->UIImage

Get localized image with name. If change language return new image after reload application. if not found file return empty UIImage

func KOLocalizedImage(named:String)->UIImage

Get path file. Return optional String

func KOLocalizedFilePath(forResource:String,  ofType:String)->String?

Get language keys array. Not returning "Base" language

func KOGetLanguageArray()->Array<String>{

More info