Update README.md
This commit is contained in:
13
README.md
13
README.md
@@ -13,7 +13,14 @@ locale: Cannot set LC_CTYPE to default locale: No such file or directory
|
|||||||
|
|
||||||
## ✅ Solution — Locale en anglais (`en_US.UTF-8`)
|
## ✅ Solution — Locale en anglais (`en_US.UTF-8`)
|
||||||
|
|
||||||
### 1. Générer la locale
|
### 1. Installer locales
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt update
|
||||||
|
apt install -y locales
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Générer la locale
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dpkg-reconfigure locales
|
dpkg-reconfigure locales
|
||||||
@@ -24,7 +31,7 @@ dpkg-reconfigure locales
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### 2. Exporter manuellement dans la session actuelle
|
### 3. Exporter manuellement dans la session actuelle
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
@@ -42,7 +49,7 @@ Doit afficher uniquement `en_US.UTF-8` partout.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### 3. Rendre la configuration persistante
|
### 4. Rendre la configuration persistante
|
||||||
|
|
||||||
Édite le fichier `/etc/environment` :
|
Édite le fichier `/etc/environment` :
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user