serge-community / serge

Continuous localization platform
https://serge.io/
Other
236 stars 52 forks source link

Add `serge import` support for .plist parser (export keys in parser callback) #16

Closed ghost closed 8 years ago

ghost commented 8 years ago

Wondering if iOS .stringsdict files are not supported yet, not planned to be supported, or should be supported but aren't working. .strings doesn't catch these files (naturally) and I thought they were a pretty close fit for .plist, since the structure is very similar, but I get "ERROR: Parser plugin didn't provide a key value in a callback. Importing translations with this plugin is not possible."

iafan commented 8 years ago

Yes, these are supposed to be parsed with .plist parser. This plugin doesn't currently export .plist keys as separate entities, so serge import with this plugin will fail. Adding import support for this plugin is pretty easy, and I'll do this today.

iafan commented 8 years ago

Should be good now.

ghost commented 8 years ago

Sorry for the delay, got side-tracked. Thanks for the super-prompt response.