Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Все макросы для работы с менеджером
// init localized manager
ALLocalizedInit
// Update current index by index
ALLocalizationSetLanguageByIndex(language)
// set language (example "ru","en")
ALLocalizationSetLanguage(language)
// return "ru","en" and etc.
ALLocalizationGetLanguage
// Full name of lang
ALLocalizationGetNameLanguage
// take current index selected language
ALLocalizationGetLanguageIndex
// reset all by default
ALLocalizationReset
// after selecting language you can throw notice
ALLocalizationThrowNotification
// localized images
ALLocalizationResource(resource, type)
ALLocalizationImage(resource, type)
// localized string
ALLocalizedString(key, comment)
ALLocalizedStringFromTable(key, comment, tableName)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment