File size: 691 Bytes
1d19024
3738bcd
1d19024
 
 
 
 
 
 
 
3738bcd
 
 
 
 
 
 
 
 
 
 
b821ced
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e5a98b5
b821ced
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
title: Piper Academy
emoji: 🔥
colorFrom: red
colorTo: purple
sdk: docker
pinned: false
license: mit
---

# How to develop

```bash
git clone ...
npm i
npm run start -- --locale ru
```

Check folders `docs` and `blog`


# How to translate

Add `.env`

```bash
CROWDIN_PERSONAL_TOKEN=xxxYYY
```

Generate files for translation

```bash
npm run write-translations
```

Upload files to Crowdin

```bash
npm upload
```

Translate files in Crowdin UI.

Download files

```bash
npm run download
```

Test locale

```bash
npm start -- --locale ru
```

Check more details here https://docusaurus.io/docs/3.4.0/i18n/crowdin

# Troubleshooting

Remove cache

```bash
rm -rf .docusaurus build
```