Localization: in-code problem

NSAlert does not use (for the time being?) the NSWindow mechanism. When it’s time for an app to get localized, how do you translate the sentences you are forced to put inside the code? If I consider translating an .xib file into another language as handy, is there a possibility (with a sort of “NSStringInitFromResource” :rolleyes:) to get all localization outside code?

Thanks for the hints!

I refer to this post because localized string is a general applescript command so it can be used in scripts, ASS and ASOC.