ibtool shortcuts to generate localized XIB files
Make sure your XIB files are localized using Interface Builder.
Generate strings file for your base language:
$ ibtool-gen base-language class-name
Integrate your translated strings file in your localized XIB file:
$ ibtool-write base-language target-language class-name
Type these commands in your terminal:
$ git clone [email protected]:RudthMael/zsh-plugin-ibtool.git
$ mkdir -p ~/.oh-my-zsh/custom/plugins
$ ln -nfs $(pwd)/zsh-plugin-ibtool/ibtool ~/.oh-my-zsh/custom/plugins/ibtool
And edit your .zshrc file:
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/p$
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(ibtool)
Reload your ZSH configuration:
$ source ~/.zshrc
And there you go.