clean up localized string parsing

1) fix simultaneous parsing of plist and localized strings
2) fix bug where xmlplist() was called with 'plist' var instead of 'string' var