문제

I hate editing the strings files in xcode!

I tried to open the file as ASCII, it is better but you see only one line of the string.

Is there an option I missed?

And does anyone know a good editor for .strings files?

도움이 되었습니까?

해결책

Use Property List Editor in /Developer/Applications/Utilities/

Or if you prefer text editor, get BBEdit if you haven't yet. Every Mac programmer should have a copy.

다른 팁

.strings files should almost always be UTF-16, as outlined in Localizing String Resources.

TextEdit should work okay as long as it's properly interpreting the .strings files as UTF-16.

Property List Editor is no longer available by default as of OS X 10.7. We are now expected to edit plist files using bloated XCode 4.

However, it's possible to get the old Snow Leopard version of the Property List Editor working on Lion:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top