Skip to content

Commit 1003668

Browse files
committed
docs: add id language support
1 parent a1cecf4 commit 1003668

File tree

42 files changed

+2781
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2781
-84
lines changed

website/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const config: Config = {
3535
// to replace "en" with "zh-Hans".
3636
i18n: {
3737
defaultLocale: 'en',
38-
locales: ['en', 'fr', 'de', 'ja', 'zh-Hans'],
38+
locales: ['en', 'fr', 'de', 'id', 'ja', 'zh-Hans'],
3939
},
4040

4141
presets: [
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
22
sidebar_position: 1
3-
_i18n_hash: 7b72ca055d015393e7ca37eb45f7a74b
3+
_i18n_hash: 94d2e9b28e14ee0258d96bc450acf5f6
44
---
55
# Installation ohne Docker
66

77
Die Verwendung von Docker zur Installation von `Tianji` ist der beste Weg, da Sie sich keine Gedanken über Umgebungsprobleme machen müssen.
88

9-
Wenn Ihr Server jedoch keine Dockerisierung unterstützt, können Sie versuchen, die Installation manuell durchzuführen.
9+
Wenn Ihr Server jedoch kein Docker unterstützt, können Sie versuchen, es manuell zu installieren.
1010

11-
## Voraussetzungen
11+
## Anforderungen
1212

1313
Sie benötigen:
1414

1515
- [Node.js](https://nodejs.org/en/download/) 18.12+ / 20.4+
16-
- [pnpm](https://pnpm.io/) 10.x (10.17.1 besser)
16+
- [pnpm](https://pnpm.io/) 10.x (besser 10.17.1)
1717
- [Git](https://git-scm.com/downloads)
18-
- [postgresql](https://www.postgresql.org/)
19-
- [pm2](https://pm2.keymetrics.io/) - Zum Ausführen von Tianji im Hintergrund
20-
- [apprise](https://github.com/caronc/apprise) - optional, falls Sie es für Benachrichtigungen benötigen
18+
- [PostgreSQL](https://www.postgresql.org/)
19+
- [pm2](https://pm2.keymetrics.io/) - Um Tianji im Hintergrund auszuführen
20+
- [Apprise](https://github.com/caronc/apprise) - optional, falls Sie Benachrichtigungen benötigen
2121

2222
## Code klonen und bauen
2323

@@ -31,38 +31,38 @@ pnpm build
3131

3232
## Umgebungsdatei vorbereiten
3333

34-
Erstellen Sie eine `.env`-Datei in `src/server`
34+
Erstellen Sie eine `.env` Datei in `src/server`
3535

3636
```ini
3737
DATABASE_URL="postgresql://user:[email protected]:5432/tianji?schema=public"
38-
JWT_SECRET="ersetzen-durch-einen-zufälligen-string"
38+
JWT_SECRET="ersetzen-sie-mich-durch-einen-beliebigen-string"
3939
```
4040

41-
Stellen Sie sicher, dass Ihre Datenbank-URL korrekt ist, und denken Sie daran, die Datenbank vorher zu erstellen.
41+
Stellen Sie sicher, dass Ihre Datenbank-URL korrekt ist, und vergessen Sie nicht, die Datenbank vorher zu erstellen.
4242

43-
Weitere Umgebungsvariablen finden Sie in diesem Dokument [environment](./environment.md)
43+
Weitere Umgebungen finden Sie in diesem Dokument [environment](./environment.md)
4444

45-
> Falls möglich, stellen Sie sicher, dass Ihre Kodierung en_US.utf8 ist, zum Beispiel: `createdb -E UTF8 -l en_US.utf8 tianji`
45+
> Wenn Sie können, ist es besser sicherzustellen, dass Ihr Encoding en_US.utf8 ist, zum Beispiel: `createdb -E UTF8 -l en_US.utf8 tianji`
4646
47-
## Server starten
47+
## Server ausführen
4848

4949
```bash
5050
npm install pm2 -g && pm2 install pm2-logrotate
5151

52-
# Datenbankmigration initialisieren
52+
# DB-Migration initialisieren
5353
cd src/server
5454
pnpm db:migrate:apply
5555

5656
# Server starten
5757
pm2 start ./dist/src/server/main.js --name tianji
5858
```
5959

60-
Standardmäßig wird `Tianji` auf `http://localhost:12345` ausgeführt.
60+
Standardmäßig läuft `Tianji` auf `http://localhost:12345`.
6161

62-
## Code auf eine neue Version aktualisieren
62+
## Code auf neue Version aktualisieren
6363

6464
```bash
65-
# Neue Release/Tags auschecken
65+
# Neuen Release/Tags auschecken
6666
cd tianji
6767
git fetch --tags
6868
git checkout -q <version>
@@ -73,7 +73,7 @@ pnpm install
7373
# Projekt bauen
7474
pnpm build
7575

76-
# Datenbankmigrationen ausführen
76+
# DB-Migrationen durchführen
7777
cd src/server
7878
pnpm db:migrate:apply
7979

@@ -85,22 +85,22 @@ pm2 restart tianji
8585

8686
## Installation von `isolated-vm` fehlgeschlagen
8787

88-
Wenn Sie Python 3.12 verwenden, wird möglicherweise ein Fehler wie dieser gemeldet:
88+
Wenn Sie Python 3.12 verwenden, wird ein Fehler wie folgt angezeigt:
8989

9090
```
9191
ModuleNotFoundError: No module named 'distutils'
9292
```
9393

94-
Dies liegt daran, dass Python 3.12 `distutils` aus den integrierten Modulen entfernt hat. Jetzt gibt es eine gute Lösung dafür.
94+
Das liegt daran, dass Python 3.12 `distutils` aus dem eingebauten Modul entfernt hat. Jetzt haben wir eine gute Lösung dafür.
9595

96-
Sie können das Problem beheben, indem Sie Ihre Python-Version von 3.12 auf 3.9 wechseln.
96+
Sie können Ihre Python-Version von 3.12 auf 3.9 ändern, um das Problem zu lösen.
9797

98-
### Wie man es in mit brew verwaltetem Python behebt
98+
### Wie man es mit einem von Brew verwalteten Python löst
9999

100100
```bash
101101
brew install [email protected]
102102
rm /opt/homebrew/bin/python3
103103
ln -sf /opt/homebrew/bin/python3 /opt/homebrew/bin/python3.9
104104
```
105105

106-
Danach können Sie die Version mit `python3 --version` überprüfen.
106+
Dann können Sie die Version mit `python3 --version` überprüfen.

website/i18n/fr/docusaurus-plugin-content-docs/current/install/manual.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
22
sidebar_position: 1
3-
_i18n_hash: 7b72ca055d015393e7ca37eb45f7a74b
3+
_i18n_hash: 94d2e9b28e14ee0258d96bc450acf5f6
44
---
55
# Installation sans Docker
66

7-
L'utilisation de Docker pour installer `Tianji` est la meilleure méthode, car vous n'avez pas à vous soucier des problèmes d'environnement.
7+
Utiliser Docker pour installer `Tianji` est la meilleure méthode car vous n'avez pas besoin de vous soucier des problèmes d'environnement.
88

9-
Cependant, si votre serveur ne prend pas en charge Docker, vous pouvez essayer d'installer manuellement.
9+
Mais si votre serveur ne supporte pas Docker, vous pouvez essayer d'installer manuellement.
1010

1111
## Prérequis
1212

1313
Vous avez besoin de :
1414

1515
- [Node.js](https://nodejs.org/en/download/) 18.12+ / 20.4+
16-
- [pnpm](https://pnpm.io/) 10.x (10.17.1 est préférable)
16+
- [pnpm](https://pnpm.io/) 10.x (10.17.1 de préférence)
1717
- [Git](https://git-scm.com/downloads)
18-
- [postgresql](https://www.postgresql.org/)
18+
- [PostgreSQL](https://www.postgresql.org/)
1919
- [pm2](https://pm2.keymetrics.io/) - Pour exécuter Tianji en arrière-plan
20-
- [apprise](https://github.com/caronc/apprise) - optionnel, si vous en avez besoin pour notifier
20+
- [apprise](https://github.com/caronc/apprise) - optionnel, si vous avez besoin de notifications
2121

2222
## Cloner le code et construire
2323

@@ -38,9 +38,9 @@ DATABASE_URL="postgresql://user:[email protected]:5432/tianji?schema=public"
3838
JWT_SECRET="remplacez-moi-par-une-chaîne-aléatoire"
3939
```
4040

41-
Assurez-vous que votre URL de base de données est correcte. Et n'oubliez pas de créer la base de données avant.
41+
Assurez-vous que votre URL de base de données est correcte et n'oubliez pas de créer la base de données au préalable.
4242

43-
Pour plus d'environnements, consultez ce document [environnement](./environment.md)
43+
Pour plus d'informations sur l'environnement, vous pouvez consulter ce document [environment](./environment.md)
4444

4545
> Si possible, assurez-vous que votre encodage est en_US.utf8, par exemple : `createdb -E UTF8 -l en_US.utf8 tianji`
4646
@@ -49,20 +49,20 @@ Pour plus d'environnements, consultez ce document [environnement](./environment.
4949
```bash
5050
npm install pm2 -g && pm2 install pm2-logrotate
5151

52-
# Initialiser la migration de la base de données
52+
# Init db migrate
5353
cd src/server
5454
pnpm db:migrate:apply
5555

5656
# Démarrer le serveur
5757
pm2 start ./dist/src/server/main.js --name tianji
5858
```
5959

60-
Par défaut, `Tianji` fonctionnera sur `http://localhost:12345`
60+
Par défaut, `Tianji` s'exécute sur `http://localhost:12345`.
6161

6262
## Mettre à jour le code vers une nouvelle version
6363

6464
```bash
65-
# Extraire les nouvelles versions/tags
65+
# Vérifiez la nouvelle release/tag
6666
cd tianji
6767
git fetch --tags
6868
git checkout -q <version>
@@ -81,26 +81,26 @@ pnpm db:migrate:apply
8181
pm2 restart tianji
8282
```
8383

84-
# Questions fréquemment posées
84+
# Questions Fréquemment Posées
8585

86-
## Échec de l'installation de `isolated-vm`
86+
## L'installation de `isolated-vm` a échoué
8787

88-
Si vous utilisez Python 3.12, vous obtiendrez une erreur comme celle-ci :
88+
Si vous utilisez Python 3.12, une erreur comme celle-ci peut être rapportée :
8989

9090
```
9191
ModuleNotFoundError: No module named 'distutils'
9292
```
9393

94-
Cela est dû au fait que Python 3.12 a supprimé `distutils` du module intégré. Maintenant, nous avons une bonne solution pour cela.
94+
C'est parce que Python 3.12 a supprimé `distutils` du module intégré. Nous avons une bonne solution pour cela.
9595

96-
Vous pouvez résoudre ce problème en passant votre version de Python de 3.12 à 3.9.
96+
Vous pouvez changer votre version de Python de 3.12 à 3.9 pour résoudre le problème.
9797

98-
### Comment le résoudre avec Python contrôlé par brew
98+
### Comment le résoudre avec une version de Python contrôlée par Brew
9999

100100
```bash
101101
brew install [email protected]
102102
rm /opt/homebrew/bin/python3
103103
ln -sf /opt/homebrew/bin/python3 /opt/homebrew/bin/python3.9
104104
```
105105

106-
Ensuite, vous pouvez vérifier la version avec `python3 --version`
106+
Ensuite, vous pouvez vérifier la version avec `python3 --version`.

0 commit comments

Comments
 (0)