Skip to content

Instantly share code, notes, and snippets.

a cartagena acicartagena

Block or report user

Report or block acicartagena

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
acicartagena /
Last active Aug 23, 2016
bash script generates Localizable.strings file, uses that one to check spelling of user facing text using aspell
#! /bin/bash
#needs aspell installed, used to check spelling
#brew install aspell
rm spellingErrors.txt #remove existing spellingErrors.txt file
cd .. #need to run genstrings on parent directory
find ./ -name "*.swift" -print0 -o -name "*.m" -print0 | xargs -0 genstrings -o en.lproj
cd en.lproj
iconv -f UTF-16le -t UTF-8 Localizable.strings > allStrings.txt #convert to utf-8
You can’t perform that action at this time.