localization - iPhone: Update Localizable.strings files using genstrings? -


i have generated strings file correctly using genstrings. have changed localized strings different languages. now, have added few more nslocalizedstring() occurrences , want generate of localized strings files.

but, running genstrings again not seem update strings files. doing wrong?

usually because you've got genstrings looking in wrong folder, or in wrong files. had problem wasn't picking of strings, , realized searching *.m files (not *.mm) , wasn't parsing files in classes folder. small change fixed that:

genstrings -o classes/en.lproj classes/*.{m,mm} 

the first parameter tells genstrings want .strings file.

  • -o classes/en.lprog

the second parameter tells genstrings look. remember i'm running genstrings project root, needed specify classes/.m, or more classes/.{m,mm} parse .m , .mm files.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -