Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanexcool/defi18n
Free translation strings for dapps and crypto wallets.
https://github.com/nanexcool/defi18n
dapps ethereum i18n translation-strings
Last synced: 7 days ago
JSON representation
Free translation strings for dapps and crypto wallets.
- Host: GitHub
- URL: https://github.com/nanexcool/defi18n
- Owner: nanexcool
- License: cc0-1.0
- Created: 2020-05-22T01:43:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T20:47:38.000Z (over 3 years ago)
- Last Synced: 2024-10-31T19:37:19.958Z (15 days ago)
- Topics: dapps, ethereum, i18n, translation-strings
- Language: JavaScript
- Homepage: https://defi18n.com/
- Size: 92.8 KB
- Stars: 44
- Watchers: 3
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![defi18n logo](logo.png "Logo")
**defi** - Decentralized Finance
**i18n** - Internationalization
## An attempt at bringing Decentralized Finance to everyone.
## What is it
A collection of translation strings that you can use freely on your project or dapp so that more people can be exposed to the world of Ethereum and Decentralized Finance.
### How to use
Code is available at [https://github.com/nanexcool/defi18n](https://github.com/nanexcool/defi18n)
To install on a `node` project:
```
yarn add defi18n // or npm i defi18n// require the strings according to your locale
const locale = 'en' // there's 'en', 'es', 'fr, and 'id'
const messages = require(`defi18n/${locale}/general.json`)
```Or copy what you need from the `en`, `es`, `fr`, and `id` folders (more to come I hope!)
Use your favorite i18n tool to manage the translation strings.
Currently there's English, Spanish, French, and Indonesian files for:
- General
- Dai Stats
- MakerWhile defi18n will never rival a professional translation service, my hope is it can provide a good enough starting point for small teams and solo devs.
### Help me translate!
Submit PRs if you can translate one of the files to a different language, or can add a new category.
### Todo
- [ ] Translate this site obviously...
- [ ] More languages
- [ ] More categories
- [ ] CLI tool to mix packages together?
- [ ] Make NPM packageThis project is licensed under the Creative Commons CC0 License, which is about as permissive as you can get.
Created by Mariano Conti [@nanexcool](https://twitter.com/nanexcool)