twopointone / applepassgenerator

Python library to generate passes i.e (.pkpass) files compatible with Apple Wallet
https://primedigitalglobal.github.io/applepassgenerator/
MIT License
46 stars 6 forks source link

Missing option to add localization #16

Open kstrub-fn opened 1 year ago

kstrub-fn commented 1 year ago

Overview

Currently I only see the option to add files manually, but in order to make the localization files work I need to add a directory containing the localization strings.

The apple wallet documentation asks for a directory (e.g. "es.lproj" for spanish) that contains a file called "pass.strings" containing the translation data. E.g.:

"origin_SVQ" = "Sevilla";
"destination_LHR" = "Londres";

Docs: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/Creating.html#Passes%20Support%20Localization

Type

Motivation

I need localized strings 😅


Checklist