Home

Awesome

Emerge Tools rounded

SmallStrings | Reduce localized .strings file sizes by 80%

Maintained by Emerge Tools

How does it work

Usage

Cocoapods

Add this to your Podfile:

pod 'SmallStrings'

Then add a Run Script build phase after the "Copy bundle resources" phase:

cd ${PODS_ROOT}/SmallStrings && ./localize.sh ${CODESIGNING_FOLDER_PATH} ${DERIVED_FILES_DIR}/SmallStrings.cache

Lastly, replace all usages of NSLocalizedString(key, comment) with SSTStringForKey(key).

Manual