• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Validating dictionary strings file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating dictionary strings file


  • Subject: Re: Validating dictionary strings file
  • From: "Norbert M. Doerner" <email@hidden>
  • Date: Mon, 21 Nov 2011 09:42:21 +0100

Thanks for the plutil tip Brian.

It's not supposed to be an old style dictionary - it's just a strings file, and I have the whole thing in English and Spanish - the English one loads fine, and the Spanish one doesn't. Unfortunately seeing as plutil thinks it's supposed to be an old style dictionary file, it just tells me that there is an error at line 1.

That usually indicates a problem with line endings.

Make sure you open your Strings.plist file in Xcode, and check the line endings you have.

I have seen that same error when the strings file was modified by some "other platform" text editor, messing with the line endings. When I changed these, plutil finally gave me the exact line number of the problem.

Also, for good measure, make sure the strings file ends with an empty line, too.

Yours,
--
Norbert M. Doerner
CEO, West-Forest-Systems
In der Trift 13
56459 Langenhahn, Germany
Fon: +49 (2663) 91 70 128	(Central European Time Zone...)
Fax: +49 (2663) 91 70 126
AIM (iChat), Skype: cdfinderceo
Twitter: http://www.twitter.com/cdfinder
Facebook:
http://www.facebook.com/pages/CDFinder-The-Search-Is-Over/173297504827
---------------------------------------------------------------------------------------------------
CDFinder - The Search Is Over!  http://www.cdfinder.de/
Catalog and organize your photos, music, videos, disks, data, anything...
NEW:  CDFinder 5.7.3 for Mac OS X 10.7 Lion
         Also catalogs PDF, RAW, MS Word, Quark XPress, Adobe Illustrator, ...
---------------------------------------------------------------------------------------------------
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSDateFormatter not working on iOS 5.
  • Next by Date: Re: Validating dictionary strings file
  • Previous by thread: Re: Validating dictionary strings file
  • Next by thread: NSTableView - preventing user moving with mouse
  • Index(es):
    • Date
    • Thread