Add Spanish translation for linux.md (#823)

This commit is contained in:
Ale Mohamad ⌘ 2023-06-12 15:44:12 +02:00 committed by GitHub
parent 6ba58c40ea
commit 372969ea2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 89 additions and 31 deletions

View File

@ -1,16 +1,15 @@
# Installation unter Linux
Die Mindestvorraussetzung für Vapor ist Swift 5.2 oder höher. Daher läuft das Framework auch auf allen Linux-Distributionen, die ebenfalls Swift 5.2 oder höher unterstützen. Unter [Swift.org](https://swift.org/download/) kannst du Swift für Linux-Distributionen herunterladen und installieren.
Die Mindestvorraussetzung für Vapor ist Swift 5.6 oder höher. Daher läuft das Framework auch auf allen Linux-Distributionen, die ebenfalls Swift 5.6 oder höher unterstützen. Unter [Swift.org](https://swift.org/download/) kannst du Swift für Linux-Distributionen herunterladen und installieren.
Hier findest du eine Übersicht der untersützten Linux-Distribution:
|Distribution |Version |Swift Version|
|-----------------------------------------------------------------------------------|---------------|-------------|
|Ubuntu. |20.04 |>= 5.2.4. |
|Ubuntu |16.04, 18.04. |>= 5.2. |
|Fedora. |>= 30 |>= 5.2 |
|CentOS. |8. |>= 5.2.4. |
|Amazon Linux |2. |>= 5.2.4. |
|Ubuntu. |20.04 |>= 5.6. |
|Fedora. |>= 30 |>= 5.6 |
|CentOS. |8. |>= 5.6. |
|Amazon Linux |2. |>= 5.6. |
|_Die Angaben können abweichen. Für offizielle Daten siehe [Swift Releases](https://swift.org/download/#releases)_|
Es kann gut möglich sein, dass Swift auch auf Distributionen läuft, die nicht offiziell gelistet werden, allerdings können wir das nicht garantieren. Mehr Informationen dazu, findest du unter [Swift - Github](https://github.com/apple/swift#getting-started).
@ -27,7 +26,7 @@ Fedora-Nutzer können folgenden Befehl ausführen
sudo dnf install swift-lang
```
Solltest du jedoch Fedora 30 verwenden, benötigst du EPEL 8 um Swift 5.2 zum Laufen zu bringen.
Solltest du jedoch Fedora 30 verwenden, benötigst du EPEL 8 um Swift 5.6 zum Laufen zu bringen.
### - Docker

62
docs/install/linux.es.md Normal file
View File

@ -0,0 +1,62 @@
# Instalación en Linux
Para usar Vapor, necesitas Swift 5.6 o superior. Se puede instalar usando las opciones disponibles en [Swift.org](https://swift.org/download/).
## Distribuciones y Versiones Soportadas
Vapor admite las mismas versiones de distribución de Linux que adminte Swift 5.6 o versiones más recientes.
!!! nota
Las versiones soportadas que se enumeran a continuación pueden quedar obsoletas en cualquier momento. Puedes comprobar qué sistemas operativos son oficialmente compatibles en la página [Swift Releases](https://swift.org/download/#releases).
|Distribución|Versión|Versión de Swift|
|-|-|-|
|Ubuntu|20.04|>= 5.6|
|Fedora|>= 30|>= 5.6|
|CentOS|8|>= 5.6|
|Amazon Linux|2|>= 5.6|
Las distribuciones de Linux que no son oficialmente compatibles también pueden ejecutar Swift al compilar el código fuente, pero Vapor no puede garantizar estabilidad. Puedes aprender más sobre cómo compilar Swift desde [Swift Repo](https://github.com/apple/swift#getting-started).
## Instalar Swift
Visita la guía [Using Downloads](https://swift.org/download/#using-downloads) de Swift.org para ver las instrucciones de cómo instalar Swift en Linux.
### Fedora
Los usuarios de Fedora pueden simplemente utilizar el siguiente comando para instalar Swift:
```sh
sudo dnf install swift-lang
```
Si utilizas Fedora 30, deberás agregar EPEL 8 para obtener Swift 5.6 o versiones más nuevas.
## Docker
También puedes usar las imágenes de Docker oficiales de Swift que vienen con el compilador preinstalado. Obtenga más información en [Swift's Docker Hub](https://hub.docker.com/_/swift).
## Instalar Toolbox
Ahora que tienes Swift instalado, vamos a instalar [Vapor Toolbox](https://github.com/vapor/toolbox). Esta aplicación de línea de comando (CLI) no es necesaria para usar Vapor, pero incluye útiles herramientas.
En Linux deberás compilar Toolbox desde el código fuente. Puedes ver las <a href="https://github.com/vapor/toolbox/releases" target="_blank">versiones</a> de Toolbox en GitHub para encontrar la versión más reciente.
```sh
git clone https://github.com/vapor/toolbox.git
cd toolbox
git checkout <desired version>
make install
```
Verifica que la instalación fue exitosa imprimiendo la ayuda.
```sh
vapor --help
```
Deberías ver una lista de comandos disponibles.
## Siguientes Pasos
Después de instalar Swift, crea tu primera app en [Comenzando &rarr; Hola, mundo](../getting-started/hello-world.md).

View File

@ -1,21 +1,20 @@
# Install on Linux
To use Vapor, you will need Swift 5.2 or greater. This can be installed using the toolchains available on [Swift.org](https://swift.org/download/)
To use Vapor, you will need Swift 5.6 or greater. This can be installed using the toolchains available on [Swift.org](https://swift.org/download/)
## Supported Distributions and Versions
Vapor supports the same versions of Linux distributions that Swift 5.2 or newer versions supports.
Vapor supports the same versions of Linux distributions that Swift 5.6 or newer versions supports.
!!! note
The supported versions listed below may be outdated at any time. You can check which operating systems are officially supported on the [Swift Releases](https://swift.org/download/#releases) page.
|Distribution|Version|Swift Version|
|-|-|-|
|Ubuntu|16.04, 18.04|>= 5.2|
|Ubuntu|20.04|>= 5.2.4|
|Fedora|>= 30|>= 5.2|
|CentOS|8|>= 5.2.4|
|Amazon Linux|2|>= 5.2.4|
|Ubuntu|20.04|>= 5.6|
|Fedora|>= 30|>= 5.6|
|CentOS|8|>= 5.6|
|Amazon Linux|2|>= 5.6|
Linux distributions not officially supported may also run Swift by compiling the source code, but Vapor cannot prove stability. Learn more about compiling Swift from the [Swift repo](https://github.com/apple/swift#getting-started).
@ -31,7 +30,7 @@ Fedora users can simply use the following command to install Swift:
sudo dnf install swift-lang
```
If you're using Fedora 30, you'll need to add EPEL 8 to get Swift 5.2 or newer versions.
If you're using Fedora 30, you'll need to add EPEL 8 to get Swift 5.6 or newer versions.
## Docker

View File

@ -1,21 +1,20 @@
# Installeren op Linux
Om Vapor te gebruiken op Linux, zal je Swift 5.2 of hoger nodig hebben. Dit kan geïnstalleerd worden met de toolchains te vinden op [Swift.org](https://swift.org/download/).
Om Vapor te gebruiken op Linux, zal je Swift 5.6 of hoger nodig hebben. Dit kan geïnstalleerd worden met de toolchains te vinden op [Swift.org](https://swift.org/download/).
## Ondersteunde distributies en versies
Vapor ondersteund dezelfde versies van Linux distributies die Swift 5.2 of hogere versies ook ondersteunen.
Vapor ondersteund dezelfde versies van Linux distributies die Swift 5.6 of hogere versies ook ondersteunen.
!!! Opmerking
The ondersteunde versies hieronder kunnen op elke moment verouderd zijn. Je kan zien welke besturingssystemen officiele ondersteuning krijgen op de [Swift Releases](https://swift.org/download/#releases/) pagina.
|Distribution|Version|Swift Version|
|-|-|-|
|Ubuntu|16.04, 18.04|>= 5.2|
|Ubuntu|20.04|>= 5.2.4|
|Fedora|>= 30|>= 5.2|
|CentOS|8|>= 5.2.4|
|Amazon Linux|2|>= 5.2.4|
|Ubuntu|20.04|>= 5.6|
|Fedora|>= 30|>= 5.6|
|CentOS|8|>= 5.6|
|Amazon Linux|2|>= 5.6|
Linux distributies die niet officieel ondersteund zijn kunnen mogelijks ook Swift uitvoeren door de broncode te compileren, maar Vapor kan geen stabiliteit garanderen. Meer informatie over het compileren van Swift kan gevonden worden op de [Swift repo](https://github.com/apple/swift#getting-started).
@ -31,7 +30,7 @@ Fedora gebruikers kunnen eenvoudig het volgende commando gebruiken om Swift te i
sudo dnf install swift-lang
```
Als je Fedore 30 gebruikt, dan zal je EPEL 8 moeten toevoegen om Swift 5.2 of nieuwere versies te krijgen.
Als je Fedore 30 gebruikt, dan zal je EPEL 8 moeten toevoegen om Swift 5.6 of nieuwere versies te krijgen.
## Docker

View File

@ -1,22 +1,21 @@
# 在 Linux 上面安装
你需要 Swift 5.2 或更高版本来使用 Vapor。可以通过 [Swift.org](https://swift.org/download/) 上面的工具链来安装。
你需要 Swift 5.6 或更高版本来使用 Vapor。可以通过 [Swift.org](https://swift.org/download/) 上面的工具链来安装。
## 支持的发行版和版本
Vapor 与 Swift 5.2 或者更高的版本对 Linux 的版本支持保持一致。
Vapor 与 Swift 5.6 或者更高的版本对 Linux 的版本支持保持一致。
!!! note "注意"
下面列出的版本可能会随时过期。你可以到 [Swift Releases](https://swift.org/download/#releases) 官方网站去确认官方支持的操作系统。
|Distribution|Version|Swift Version|
|-|-|-|
|Ubuntu|16.04, 18.04|>= 5.2|
|Ubuntu|20.04|>= 5.2.4|
|Fedora|>= 30|>= 5.2|
|CentOS|8|>= 5.2.4|
|Amazon Linux|2|>= 5.2.4|
|Ubuntu|20.04|>= 5.6|
|Fedora|>= 30|>= 5.6|
|CentOS|8|>= 5.6|
|Amazon Linux|2|>= 5.6|
不受官方支持的 Linux 发行版也可以通过编译源代码来运行 Swift但是 Vapor 不能保证其稳定性。可以在 [Swift repo](https://github.com/apple/swift#getting-started) 学习更多关于编译 Swift 的信息。
@ -32,7 +31,7 @@ Fedora 用户可以简单的通过下面的命令来安装 Swift
sudo dnf install swift-lang
```
如果你正在使用 Fedora 30你需要添加添加 EPEL 8 来获取 Swift 5.2 或更新的版本。
如果你正在使用 Fedora 30你需要添加添加 EPEL 8 来获取 Swift 5.6 或更新的版本。
## Docker