# French

The [WebInterface](Web.md) can be shown in French (Français): 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). French is in its list as **Français**. |
| make it the language of the login page | choose **French** 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 `fr`: [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 French gets French |

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 French.

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) |

12 more texts read the same as in English, mostly words that French shares with English or names that are not translated, such as "Permissions".

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 French while you see it in English.

### Signing in

| English | French |
|---|---|
| Username | Nom d'utilisateur |
| Password | Mot de passe |
| Remember me | Se souvenir de moi |
| Login | Se connecter |
| Forgot Password? | Mot de passe oublié ? |
| Reset Password | Réinitialiser le mot de passe |
| Change Password | Changer de mot de passe |
| Current Password | Mot de passe actuel |
| New Password | Nouveau mot de passe |
| Confirm Password | Confirmer le mot de passe |
| Logout | Se déconnecter |

### The list

| English | French |
|---|---|
| Home | Accueil |
| Name | Nom |
| Size | Taille |
| Last Modified | Dernière modification |
| Keywords | Mots-clés |
| Filter | Filtrer |
| Select | Sélectionner |
| Refresh | Rafraîchir |
| List | Liste |
| Small Grid | Petite grille |
| Medium Grid | Grille moyenne |
| Large Grid | Grande grille |
| Sort | Trier |
| Light Theme | Thème clair |
| Dark Theme | Thème sombre |

### Buttons and the right-click menu

| English | French |
|---|---|
| Create Folder | Créer un dossier |
| User Options | Options utilisateur |
| Search | Rechercher |
| Upload | Envoyer |
| Download | Télécharger |
| Zip Download | Télécharger en tant que fichier Zip |
| Advanced Download | Téléchargement avancé |
| Share | Partager |
| Manage Shares | Gérer les partages |
| Copy Link | Copier le lien |
| Copy | Copier |
| Cut | Couper |
| Paste | Coller |
| Rename | Renommer |
| Delete | Supprimer |
| Add To Basket | Ajouter au panier |
| Show Basket | Afficher le panier |
| QuickView | Aperçu rapide |
| Slideshow | Diaporama |
| Show History | Afficher l'historique |
| Edit Keywords | Modifier les mots clés |

### Uploading and downloading

| English | French |
|---|---|
| Add files | Ajouter des fichiers |
| Files To Upload | Fichiers à télécharger |
| Uploading | Téléchargement |
| Upload Completed | Téléchargement terminé |
| Downloading | Téléchargement |
| Overwrite | Écraser |
| Overwrite All | Remplacer tout |
| Resume | reprendre |
| Skip | Passer |
| Pause | Pause |
| Cancel | Annuler |
| Remaining | Restante |
| Speed | Vitesse |
| Failed | Échoué |

### Sharing and searching

| English | French |
|---|---|
| Sharing Files | Partage de fichiers |
| Share Method | Méthode de partage |
| Expires | Expire le |
| Subject | Objet |
| Body | Corps |
| Send | Envoyer |
| Remaining Uses | Utilisations restantes |
| Unlimited | Illimité |
| Start Search | Démarrer la recherche |
| Exact | Exact |
| Bigger than | Plus grand que |
| Smaller than | Plus petit que |
| Modified After | Modifié après |
| Modified Before | Modifié avant |

### Answers

| English | French |
|---|---|
| OK | OK |
| Yes | Oui |
| No | Non |
| Save | Enregistrer |
| Close | Fermer |
| Submit | Soumettre |
| Confirm | Confirmer |
| Warning | Avertissement |
| Access Denied | Accès refusé |
| Login Failed | La connexion a échoué |

## 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 `fr.js` into the folder `WebInterface/Files/localizations/custom/` of the server, with only the texts you change:

```js
export default {
  home: "Accueil",
  addFiles: "Ajouter des fichiers",
  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/fr.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 French. The pages were not gone through in French on a test server. A `custom` file was tried with German, not with French; the mechanism is the same for every language.
