My Custom Localization and Genstrings

This post is about some custom stuff I did for localization.

It does not cover the basic of how you localized an app, nor how to use the Apple provided genstrings tool.

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 Localized.

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 NSLocalizedString. Unfortunately genstrings is closed source. But fortunately, some python helper is around.

And the result is at