added chinese to docs
This commit is contained in:
@@ -14,6 +14,7 @@ foreignthon/
|
|||||||
│ └── langs/
|
│ └── langs/
|
||||||
│ ├── es/ # foreignthon-es (Spanish)
|
│ ├── es/ # foreignthon-es (Spanish)
|
||||||
│ └── ta/ # foreignthon-ta (Tamil)
|
│ └── ta/ # foreignthon-ta (Tamil)
|
||||||
|
| |__ ch/
|
||||||
├── docs/
|
├── docs/
|
||||||
└── .gitea/workflows/
|
└── .gitea/workflows/
|
||||||
├── ci.yml # runs tests + lint on every push
|
├── ci.yml # runs tests + lint on every push
|
||||||
@@ -33,6 +34,7 @@ python -m venv .venv && source .venv/bin/activate
|
|||||||
pip install -e "packages/foreignthon[dev]"
|
pip install -e "packages/foreignthon[dev]"
|
||||||
pip install -e packages/langs/es
|
pip install -e packages/langs/es
|
||||||
pip install -e packages/langs/ta
|
pip install -e packages/langs/ta
|
||||||
|
pip install -e packages/langs/ch
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
pip install foreignthon
|
pip install foreignthon
|
||||||
pip install foreignthon-es # add Spanish
|
pip install foreignthon-es # add Spanish
|
||||||
pip install foreignthon-ta # add Tamil
|
pip install foreignthon-ta # add Tamil
|
||||||
|
pip install foreignthon-ch # add Chinese
|
||||||
```
|
```
|
||||||
|
|
||||||
For CLI use across projects, prefer pipx:
|
For CLI use across projects, prefer pipx:
|
||||||
@@ -76,5 +77,6 @@ python -m venv .venv && source .venv/bin/activate
|
|||||||
pip install -e "packages/foreignthon[dev]"
|
pip install -e "packages/foreignthon[dev]"
|
||||||
pip install -e packages/langs/es
|
pip install -e packages/langs/es
|
||||||
pip install -e packages/langs/ta
|
pip install -e packages/langs/ta
|
||||||
|
pip install -e packages/langs/ch
|
||||||
pytest packages/foreignthon/tests/ -v
|
pytest packages/foreignthon/tests/ -v
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ A language pack is a JSON file that maps foreign tokens to Python equivalents, p
|
|||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `foreignthon-es` | Spanish | `pip install foreignthon-es` |
|
| `foreignthon-es` | Spanish | `pip install foreignthon-es` |
|
||||||
| `foreignthon-ta` | Tamil | `pip install foreignthon-ta` |
|
| `foreignthon-ta` | Tamil | `pip install foreignthon-ta` |
|
||||||
|
| `foreignthon-ch` | Chinese | `pip install foreignthon-ch` |
|
||||||
|
|
||||||
## JSON schema
|
## JSON schema
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user