padloc/packages/locale
Bruno Bernardino 9b5f8e3d1e
Lock dependencies' versions
This implements `.nvmrc` and `.npmrc` files, as well as locking `package.json` versions, in order to get us closer to reproducible builds and more stable environment.

Closes #320
2021-12-15 16:16:37 +00:00
..
res Fix typos in german translation 2021-02-24 08:34:33 +01:00
src Handle vault provisioning separately 2021-10-03 15:56:01 +02:00
README.md Add readme to locale package 2019-12-05 15:25:51 +01:00
package-lock.json Lock dependencies' versions 2021-12-15 16:16:37 +00:00
package.json Lock dependencies' versions 2021-12-15 16:16:37 +00:00
tsconfig.json Surface verification error instead of returning false 2021-09-25 11:56:49 +02:00

README.md

Padloc Localization Package

This package contains translations, word lists and various localization tools for the Padloc app.

How To Contribute

Translations

One of the easiest ways to contribute to this project is to help create or improve translations in your language. Translations are stored as simple JSON files in the following format:

[
    [
        "Hello World", // Original text in English
        "Hallo Welt" // Translation
    ],
    [
        "{0} times {1} makes {2}", // Original text with placeholders
        "{0} mal {1} ergibt {2}" // Translation with placeholders
    ]
]

To add or update a translation for a given text, simply locate the translation file for your language in the translations directory, find the text you want to translate and insert your translation below. If no translation file for you language exists yet, you can start from scratch, using this empty translations file. Simply copy it and name it xx.json, replacing "xx" with the appropriate lowercase country code.

Word Lists

Word lists are used to generate random passphrases from a list of commonly used words from a given language. You can find all existing word lists here.