Here's a more comprehensive response:
https://ttlc.intuit.com/community/taxes/discussion/locality-name-is-blank-on-my-w2-what-should-i-put...