My Custom Localization and Genstrings
This post is about some custom stuff I did for localization.
I have some particular bad vibes with using
NSLocalizedString. I hate it being 17 characters long, and the REQUIRED comment parameter that you MUST pass in, which usually is just
nil for me.
And so I have my own Macro called
Which I improved to read from other table strings, and has an awesome recursive replacement.
By doing that, I lose the use of
genstrings, as it no longer uses
genstrings is closed source. But fortunately, some python helper is around.
And the result is at https://github.com/samwize/localized.