Locraft::IOSConfig.new
do |conf|
############ # @!required ############ conf.gdoc_file = 'google doc file name here' conf.macro_destination = './' # default: './' # strings destination directory # related to this file, default: './Localizations' conf.strings_destination = './Localizations' # info plist destination directory # related to this file, default: './Localizations' conf.info_plist_destination = './Localizations' ############ # @!optional ############ conf.langs = { 'English' => 'en', 'Russian' => 'ru' } # default: { 'English' => 'en', 'Russian' => 'ru' } conf.default_lang = 'English' # default: 'English' conf.gdoc_sheet = 0 # default: 0 conf.gdoc_keys_column = 'Keys' # default: 'Keys' conf.gdoc_comments_column = 'Comments' # default: 'Comments' conf.dev_lang = SWIFT # OBJC or SWIFT, default: SWIFT conf.dev_prefix = 'XYZ' # default: 'XYZ' conf.keys_map = {} conf.macro_file = 'LocalizedConstants' # default: 'LocalizedConstants' conf.strings_basename = 'Localizable' # default: 'Localizable' conf.info_plist_basename = 'InfoPlist' # default: 'InfoPlist'
end