Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: i18n #706

Merged
merged 3 commits into from
Nov 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[main]
host = https://www.transifex.com
lang_map = zh_CN: zh-CN, zh_HK: zh-HK, zh_TW: zh-TW, ko_KR: ko-KR

[ipfs-desktop.ipfs-desktop-json]
file_filter = src/locales/<lang>.json
minimum_perc = 95
source_file = src/locales/en.json
source_lang = en
type = KEYVALUEJSON

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ IPFS Desktop allows you to run your IPFS Node on your machine without having to

- [Install](#install)
- [Contribute](#contribute)
- [Translations](#translations)

## Install

Expand All @@ -40,12 +41,19 @@ npm start

The IPFS Desktop app will launch and should appear in your OS menu bar.

## Translations

The translations are stored on [./src/locales](./src/locales) and the English version is the source of truth.
Other languages are periodically pulled from [Transifex](https://www.transifex.com/ipfs/ipfs-desktop/), a web interface to help us translate IPFS Desktop and its components to another languages.

## Contribute

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/#contributing-guidelines)

Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs-shipyard/ipfs-desktop/issues)!

If you're interested in contributing translations, go to [project page on Transifex](https://www.transifex.com/ipfs/ipfs-desktop/translate/), create an account, pick a language and start translating.

This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).

## License
Expand Down
195 changes: 188 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,16 @@
"filesize": "^3.6.1",
"fs-extra": "^7.0.1",
"go-ipfs-dep": "^0.4.18",
"i18next": "^12.1.0",
"i18next-electron-language-detector": "0.0.10",
"i18next-icu": "^0.6.0",
"i18next-node-fs-backend": "^2.1.0",
"ipfs-css": "^0.12.0",
"ipfsd-ctl": "^0.40.0",
"is-ipfs": "^0.4.7",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-i18next": "^8.3.8",
"redux-bundler": "^22.2.0",
"redux-bundler-react": "^1.1.0",
"tachyons": "^4.11.1",
Expand Down
Loading