This repo contains JSON files with all translations used for the BTC.com Web and Mobile Wallet.
The scripts to convert from JSON -> CSV -> JSON are horrific right now, but they do what they're supposed to, will be cleaned up at a later stage ...
translations/*.json
are the main translation files, they're used in the Web Wallet.
translations/mobile/*.json
are merged over the main translation files for the Mobile Wallet, this is mainly for button text etc. that is otherwise too big to fit.
npm install
node export-csv.js > translations.csv
before import a new language make sure to create the .json file for it with {}
as content.
the CSV should have a semi-colon ;
as delimeter and it's recommended to wrap all text in double quotes "
.
# asumes translations.csv is in the root dir
node import-csv.js
([A-Z].+): ?["'](.+)['"],
"$1": "$2",
The BTC Wallet source code is released under the GNU Affero General Public License.
The BTC.com Logo and any other images / graphics are not part of this.
See LICENSE.md.