Links

Translating The Passcode Prompt Message

You can add your translations so that they show up in the Locksmith passcode prompt using the translation filter built into liquid.
To start, head into the language "locale" file you'd like to update in your theme, and then add a new entry at the bottom. You should see one Locksmith entry already, and you can add a new one named "locksmith_messages", with "passcode" inside of that entry. That looks like this:
Add this same entry into any desired locales files, and update the "Enter Passcode" to the specific language. Next, in your passcode prompt message, use the translate filter on that variable. Here's an example:
Any html or styling will need to be around that, like the <p></p> in the above example.