Skip to content

Commit 3a44f8c

Browse files
committed
Update docs
1 parent 5bc226a commit 3a44f8c

File tree

7 files changed

+7
-22
lines changed

7 files changed

+7
-22
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This is the documentation repository of LibreTranslate, a free and open source t
77
# Rules
88

99
- The tone of translation should be technical. The context of translation is that of software API.
10+
- When updating translations, always look at the current git diff to see which sections were changed. If there are no active changes in the current branch, compare against the latest commit (git diff HEAD~1 HEAD)
1011
- Never edit or commit any file in `src/content/docs/community` or `src/content/docs/guides` or `src/content/index.mdx`. These are the original English pages
1112
- Always preserve images in the proper places.
1213
- Each translation for other languages, like Italian or Spanish, needs to be added as subfolder in `src/content/docs/[langcode]`, where `langcode` is the 2 letter ISO 639 language code. For example, Italian docs go in `src/content/docs/it/`.

src/content/docs/es/guides/installation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ cd LibreTranslate
4343

4444
Luego en Linux/macOS ejecuta `./run.sh [args]`, en Windows ejecuta `run.bat [args]`.
4545

46-
:::note
47-
La versión de docker utiliza MiniSBD para la detección de límites de oración por defecto. Puedes anular esto modificando run.sh o run.bat y estableciendo una variable de entorno de docker `-e ARGOS_CHUNK_TYPE=STANZA`.
48-
:::
49-
5046
### CUDA
5147

5248
Es posible usar la aceleración de hardware para acelerar las traducciones en un equipo con GPU compatible con CUDA 12.4.1 y [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) instalado.

src/content/docs/fr/guides/installation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,9 @@ cd LibreTranslate
4343

4444
Ensuite sur Linux/macOS exécutez `./run.sh [args]`, sur Windows exécutez `run.bat [args]`.
4545

46-
:::note
47-
La version docker utilise MiniSBD pour la détection des limites de phrases par défaut. Vous pouvez outrepasser cela en modifiant run.sh ou run.bat et en définissant une variable d'environnement docker `-e ARGOS_CHUNK_TYPE=STANZA`.
48-
:::
49-
5046
### CUDA
5147

52-
Vous pouvez utiliser l'accélération matérielle pour accélérer les traductions sur une machine GPU avec CUDA 12.4.1 et [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installés.
48+
Vous pouvez utiliser l'accélération matérielle pour accélérer les traductions sur un système équipé d'un GPU avec CUDA 12.4.1 et [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installés.
5349

5450
Exécutez cette version avec :
5551

src/content/docs/fr/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Ouvrez [libretranslate.com](https://libretranslate.com) dans votre navigateur.
1616

1717
### Auto-hébergé
1818

19-
Si vous souhaitez exécuter LibreTranslate gratuitement sur votre machine :
19+
Si vous souhaitez exécuter LibreTranslate gratuitement sur votre ordinateur :
2020

2121
```bash
2222
$ pip install libretranslate
@@ -52,7 +52,7 @@ Dans tous les cas, nous sommes heureux que vous soyez ici ! ❤
5252
<CardGrid>
5353
<LinkCard title="Installation"
5454
href="/fr/guides/installation/"
55-
description="Comment installer et faire fonctionner rapidement le logiciel sur votre machine." />
55+
description="Comment installer et faire fonctionner rapidement le logiciel sur votre ordinateur." />
5656
<LinkCard title="Utilisation de base"
5757
href="/fr/guides/api_usage/"
5858
description="Commencez à traduire avec des exemples étape par étape." />

src/content/docs/guides/installation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ cd LibreTranslate
4343

4444
Then on Linux/macOS run `./run.sh [args]`, on Windows run `run.bat [args]`.
4545

46-
:::note
47-
The docker version uses MiniSBD for sentence boundary detection by default. You can override that by modifying run.sh or run.bat and setting a docker `-e ARGOS_CHUNK_TYPE=STANZA` environment variable.
48-
:::
49-
5046
### CUDA
5147

5248
You can use hardware acceleration to speed up translations on a GPU machine with CUDA 12.4.1 and [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installed.

src/content/docs/it/guides/installation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,9 @@ cd LibreTranslate
4343

4444
Quindi su Linux/macOS esegui `./run.sh [args]`, su Windows esegui `run.bat [args]`.
4545

46-
:::note
47-
La versione docker utilizza MiniSBD per il rilevamento dei confini di frase per impostazione predefinita. Puoi sovrascriverlo modificando run.sh o run.bat e impostando una variabile d'ambiente docker `-e ARGOS_CHUNK_TYPE=STANZA`.
48-
:::
49-
5046
### CUDA
5147

52-
È possibile utilizzare l'accelerazione hardware per velocizzare le traduzioni su una macchina GPU con CUDA 12.4.1 e [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installato.
48+
È possibile utilizzare l'accelerazione hardware per velocizzare le traduzioni su un sistema dotato di GPU con CUDA 12.4.1 e [nvidia-docker](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installato.
5349

5450
Esegui questa versione con:
5551

src/content/docs/it/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Apri [libretranslate.com](https://libretranslate.com) nel tuo browser.
1818

1919
### Self-Hosted
2020

21-
Se vuoi eseguire LibreTranslate gratuitamente sulla tua macchina:
21+
Se vuoi eseguire LibreTranslate gratuitamente sul tuo computer:
2222

2323
```bash
2424
$ pip install libretranslate
@@ -54,7 +54,7 @@ In ogni caso, siamo felici che tu sia qui! ❤
5454
<CardGrid>
5555
<LinkCard title="Installazione"
5656
href="/guides/installation/"
57-
description="Come installare e avviare rapidamente il software sulla tua macchina." />
57+
description="Come installare e avviare rapidamente il software sul tuo computer." />
5858
<LinkCard title="Uso di Base"
5959
href="/guides/api_usage/"
6060
description="Inizia a tradurre con esempi passo dopo passo." />

0 commit comments

Comments
 (0)