Created
May 29, 2012 02:47
-
-
Save sonsongithub/2822231 to your computer and use it in GitHub Desktop.
Xcode "Run script" sample for auto localizing Storyboard files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make iPhone's storyboard file for Japanese | |
ibtool --generate-stringsfile $SRCROOT/Resources/Japanese.lproj/MainStoryboard_iPhone.storyboard.string --import-strings-file $SRCROOT/Resources/Japanese.lproj/MainStoryboard_iPhone.storyboard.string $SRCROOT/Resources/English.lproj/MainStoryboard_iPhone.storyboard | |
ibtool --write $SRCROOT/Resources/Japanese.lproj/MainStoryboard_iPhone.storyboard -d $SRCROOT/Resources/Japanese.lproj/MainStoryboard_iPhone.storyboard.string $SRCROOT/Resources/English.lproj/MainStoryboard_iPhone.storyboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment