# Spanish

The [WebInterface](Web.md) can be shown in Spanish (Español): the login page and everything a user sees after logging in. This page says how to turn it on, how much is translated, what the common words are, and how to change a text.

## Turning it on

| To | Do |
|---|---|
| let people choose | show the language picker: [Languages](Prefs-WebInterface-Languages.md). Spanish is in its list as **Español**. |
| make it the language of the login page | choose **Spanish** as the **Default language** there |
| make it the language after login for a user, a group or everybody | add the customization **Default WebInterface language** (`defaultWILanguage`) with the value `es`: [Customizations: Language](Users-WebInterface-Customizations.md#language) |
| follow each person's browser | the customization **Detect language based on users settings** (`detectBrowserLanguage`): a browser set to Spanish gets Spanish |

The order in which these count is in [Languages](Web-Languages.md#which-language-somebody-gets).

## How much is translated

The pages of the user have 567 texts. 549 of them are in Spanish.

The other 18 are the newest texts and are shown in English until a translation exists:

| Text shown in English | Where it appears |
|---|---|
| "Built" | the build of the pages, in the session card |
| "Please wait..." | the login page, while the robot check loads |
| "Define {command} in /WebInterface/custom.js and set the button value to javascript:{command}()" | a custom button that is not set up |
| "History" | Activity |
| "My activity" | the link to My Activity |
| "Subtitles" | the video player |
| "Invalid name: this item can't be used" | a name that cannot be used |
| the 11 messages of the document view, such as "This file is not text. Download it to view it." | [Viewing documents](Web-Documents.md) |

3 more texts read the same as in English, mostly words that Spanish shares with English or names that are not translated, such as "CrushMFT".

Not translated, in any language: the admin pages, the names of your folders and files, and what your administrator typed: the names of buttons of their own, the questions of forms, header and footer, the texts of mails.

## The words

What the common controls are called. Useful when you help somebody over the phone who sees the page in Spanish while you see it in English.

### Signing in

| English | Spanish |
|---|---|
| Username | Nombre de usuario |
| Password | Contraseña |
| Remember me | Recordarme |
| Login | Iniciar sesión |
| Forgot Password? | ¿Olvidaste tu contraseña? |
| Reset Password | Restablecer contraseña |
| Change Password | Cambiar contraseña |
| Current Password | Contraseña actual |
| New Password | Nueva contraseña |
| Confirm Password | Confirmar contraseña |
| Logout | Cerrar sesión |

### The list

| English | Spanish |
|---|---|
| Home | Inicio |
| Name | Nombre |
| Size | Tamaño |
| Last Modified | Última modificación |
| Keywords | Palabras clave |
| Filter | Filtro |
| Select | Seleccionar |
| Refresh | Actualizar |
| List | Lista |
| Small Grid | Cuadrícula pequeña |
| Medium Grid | Cuadrícula Mediana |
| Large Grid | Cuadrícula grande |
| Sort | Ordenar |
| Light Theme | Tema Claro |
| Dark Theme | Tema Oscuro |

### Buttons and the right-click menu

| English | Spanish |
|---|---|
| Create Folder | Crear carpeta |
| User Options | Opciones de usuario |
| Search | Buscar |
| Upload | Cargar |
| Download | Descargar |
| Zip Download | Descargar como zip |
| Advanced Download | Descarga avanzada |
| Share | Compartir |
| Manage Shares | Administrar acciones |
| Copy Link | Copiar enlace |
| Copy | Copiar |
| Cut | Cortar |
| Paste | Pegar |
| Rename | Cambiar nombre |
| Delete | Eliminar |
| Add To Basket | Agregar a la cesta |
| Show Basket | Mostrar cesta |
| QuickView | Vista rápida |
| Slideshow | Presentación de diapositivas |
| Show History | Mostrar historial |
| Edit Keywords | Editar palabras clave |

### Uploading and downloading

| English | Spanish |
|---|---|
| Add files | Agregar archivos |
| Files To Upload | Archivos para cargar |
| Uploading | Subiendo |
| Upload Completed | Carga completada |
| Downloading | Descargando |
| Overwrite | Sobrescribir |
| Overwrite All | Sobrescribir todo |
| Resume | Reanudar |
| Skip | Omitir |
| Pause | Pausa |
| Cancel | Cancelar |
| Remaining | Restante |
| Speed | Velocidad |
| Failed | Fallida |

### Sharing and searching

| English | Spanish |
|---|---|
| Sharing Files | Compartir archivos |
| Share Method | Método de compartir |
| Expires | Caduca |
| Subject | Asunto |
| Body | Cuerpo |
| Send | Enviar |
| Remaining Uses | Usos restantes |
| Unlimited | Ilimitado |
| Start Search | Iniciar búsqueda |
| Exact | Exacto |
| Bigger than | Más grande que |
| Smaller than | Más pequeño que |
| Modified After | Modificado después |
| Modified Before | Modificado antes |

### Answers

| English | Spanish |
|---|---|
| OK | Aceptar |
| Yes | Sí |
| No | No |
| Save | Guardar |
| Close | Cerrar |
| Submit | Enviar |
| Confirm | Confirmar |
| Warning | Advertencia |
| Access Denied | Acceso denegado |
| Login Failed | Error de inicio de sesion |

## Changing a text

A word that does not fit your organisation, or a text that is still in English, can be replaced without touching the server's own files. Put a file named `es.js` into the folder `WebInterface/Files/localizations/custom/` of the server, with only the texts you change:

```js
export default {
  home: "Inicio",
  addFiles: "Agregar archivos",
  myActivity: "...",
};
```

Each line is the name of a text and its new wording. The names are those of the server's own file for the language, `WebInterface/Files/localizations/es.js`: look a text up there by its present wording. Texts you do not list stay as they are.

People see the change the next time the page loads. The folder `custom` is yours: keep a copy of the file, and check after an update of the server that it is still there.

How this works for every language, and its limits: [Languages: your own wording](Web-Languages.md#your-own-wording).

## Not tried for this page

The numbers and the words were read from the server's language file for Spanish. The pages were not gone through in Spanish on a test server. A `custom` file was tried with German, not with Spanish; the mechanism is the same for every language.
