Skip to content

Instantly share code, notes, and snippets.

@alobanov
Created February 7, 2017 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alobanov/f07585a35c96de9345514acff490b062 to your computer and use it in GitHub Desktop.
Save alobanov/f07585a35c96de9345514acff490b062 to your computer and use it in GitHub Desktop.
Все макросы для работы с менеджером
// 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