is there any way to extract the string in ios XCode project for i18n


is there a way to extract string in XCode ios project for i18n, I need to auto find strings and make localized files.

As far as I know it is only possible to auto find NSLocalizedString...(...); methods and extract the keys from them. If you haven't already used on of these macros during development, you can't extract every NSString in the Project. I am pretty sure this would always lead to broken code as you can't simply replace every NSString with an NSLocalizedString statement.

To look for NSLocalizedString stuff in your code, genstrings is the way you want to go: