justdmitry/PassKitHelper

Localization

johantiger opened this issue · 3 comments

Hi, I can't find any options to pass in localization options to the creation of cards. Is that a possibility?
Love the package! Thanks!

Hi,
As far as I remember, localization is additional file with localized strings. You should build it in-memory (StreamWriter/StringWriter) and add it to package with passPackage.AddFile().
But I didn't build international passes yet, so please describe what exact problem you have with that scenario.

Thanks for your quick answer, and you are partially right, if I read this correctly, each supported language needs it's own folder, so a sv.lproj folder for my Swedish strings and so on.

So sorry @justdmitry , I looked through the closed issues now, you already had posted about this. Have a great day, thanks!