Skip to content

Commit dcdf97a

Browse files
julesvanriegithub-actions
andauthored
Add locale for ubuntu (#338)
* Trigger rebuild with locale for linux from web setup * setup guides generated --------- Co-authored-by: github-actions <github-actions@github.com>
1 parent f063407 commit dcdf97a

File tree

6 files changed

+180
-60
lines changed

6 files changed

+180
-60
lines changed

LINUX.es.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,36 @@ Aquí está la lista de las extensiones que estás instalando:
8282

8383
## Herramientas de línea de comando
8484

85+
### Comprueba la configuración regional (locale)
86+
87+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
88+
89+
Comprobemos que la configuración regional por defecto es el inglés:
90+
91+
```bash
92+
locale
93+
```
94+
95+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
96+
97+
```bash
98+
sudo locale-gen en_US.UTF-8
99+
```
100+
101+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
102+
103+
<details>
104+
<summary>Generar la configuración regional<>/summary>
105+
106+
Por favor, ejecuta estas líneas en tu terminal.
107+
108+
```bash
109+
sudo update-locale LANG=en_US.UTF8
110+
sudo apt-get update
111+
sudo apt-get install language-pack-en language-pack-en-base manpages
112+
```
113+
</details>
114+
85115
### Zsh & Git
86116

87117
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

LINUX.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,36 @@ Here is a list of the extensions you are installing:
9797

9898
## Command line tools
9999

100+
### Check the locale
101+
102+
The locale is a mechanism allowing to customize programs to your language and country.
103+
104+
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
105+
106+
```bash
107+
locale
108+
```
109+
110+
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
111+
112+
```bash
113+
sudo locale-gen en_US.UTF-8
114+
```
115+
116+
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
117+
118+
<details>
119+
<summary>Generate locale</summary>
120+
121+
Please, run this lines in your terminal.
122+
123+
```bash
124+
sudo update-locale LANG=en_US.UTF8
125+
sudo apt-get update
126+
sudo apt-get install language-pack-en language-pack-en-base manpages
127+
```
128+
</details>
129+
100130
### Zsh & Git
101131

102132
Instead of using the default `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)), we will use `zsh`.

VM.es.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,36 @@ Aquí está la lista de las extensiones que estás instalando:
249249

250250
## Herramientas de línea de comando
251251

252+
### Comprueba la configuración regional (locale)
253+
254+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
255+
256+
Comprobemos que la configuración regional por defecto es el inglés:
257+
258+
```bash
259+
locale
260+
```
261+
262+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
263+
264+
```bash
265+
sudo locale-gen en_US.UTF-8
266+
```
267+
268+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
269+
270+
<details>
271+
<summary>Generar la configuración regional<>/summary>
272+
273+
Por favor, ejecuta estas líneas en tu terminal.
274+
275+
```bash
276+
sudo update-locale LANG=en_US.UTF8
277+
sudo apt-get update
278+
sudo apt-get install language-pack-en language-pack-en-base manpages
279+
```
280+
</details>
281+
252282
### Zsh & Git
253283

254284
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

VM.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,36 @@ Here is a list of the extensions you are installing:
355355

356356
## Command line tools
357357

358+
### Check the locale
359+
360+
The locale is a mechanism allowing to customize programs to your language and country.
361+
362+
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
363+
364+
```bash
365+
locale
366+
```
367+
368+
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
369+
370+
```bash
371+
sudo locale-gen en_US.UTF-8
372+
```
373+
374+
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
375+
376+
<details>
377+
<summary>Generate locale</summary>
378+
379+
Please, run this lines in your terminal.
380+
381+
```bash
382+
sudo update-locale LANG=en_US.UTF8
383+
sudo apt-get update
384+
sudo apt-get install language-pack-en language-pack-en-base manpages
385+
```
386+
</details>
387+
358388
### Zsh & Git
359389

360390
Instead of using the default `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)), we will use `zsh`.

WINDOWS.es.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -348,36 +348,6 @@ Debería devolver el nombre de usuario que elegiste anteriormente.
348348

349349
:x: Si dice `root`, **contacta a un profesor** antes de continuar.
350350

351-
### Comprueba la configuración regional (locale)
352-
353-
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
354-
355-
Comprobemos que la configuración regional por defecto es el inglés:
356-
357-
```bash
358-
locale
359-
```
360-
361-
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
362-
363-
```bash
364-
sudo locale-gen en_US.UTF-8
365-
```
366-
367-
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
368-
369-
<details>
370-
<summary>Generar la configuración regional<>/summary>
371-
372-
Por favor, ejecuta estas líneas en tu terminal.
373-
374-
```bash
375-
sudo update-locale LANG=en_US.UTF8
376-
sudo apt-get update
377-
sudo apt-get install language-pack-en language-pack-en-base manpages
378-
```
379-
</details>
380-
381351

382352
## Visual Studio Code
383353

@@ -533,6 +503,36 @@ Aquí está la lista de las extensiones que estás instalando:
533503

534504
## Herramientas de línea de comando
535505

506+
### Comprueba la configuración regional (locale)
507+
508+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
509+
510+
Comprobemos que la configuración regional por defecto es el inglés:
511+
512+
```bash
513+
locale
514+
```
515+
516+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
517+
518+
```bash
519+
sudo locale-gen en_US.UTF-8
520+
```
521+
522+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
523+
524+
<details>
525+
<summary>Generar la configuración regional<>/summary>
526+
527+
Por favor, ejecuta estas líneas en tu terminal.
528+
529+
```bash
530+
sudo update-locale LANG=en_US.UTF8
531+
sudo apt-get update
532+
sudo apt-get install language-pack-en language-pack-en-base manpages
533+
```
534+
</details>
535+
536536
### Zsh & Git
537537

538538
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

WINDOWS.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -350,36 +350,6 @@ It should return the username you chose before.
350350

351351
:x: It if says `root`, **contact a TA** before continuing!
352352

353-
### Check the locale
354-
355-
The locale is a mechanism allowing to customize programs to your language and country.
356-
357-
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
358-
359-
```bash
360-
locale
361-
```
362-
363-
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
364-
365-
```bash
366-
sudo locale-gen en_US.UTF-8
367-
```
368-
369-
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
370-
371-
<details>
372-
<summary>Generate locale</summary>
373-
374-
Please, run this lines in your terminal.
375-
376-
```bash
377-
sudo update-locale LANG=en_US.UTF8
378-
sudo apt-get update
379-
sudo apt-get install language-pack-en language-pack-en-base manpages
380-
```
381-
</details>
382-
383353

384354
## Visual Studio Code
385355

@@ -538,6 +508,36 @@ Here is a list of the extensions you are installing:
538508

539509
## Command line tools
540510

511+
### Check the locale
512+
513+
The locale is a mechanism allowing to customize programs to your language and country.
514+
515+
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
516+
517+
```bash
518+
locale
519+
```
520+
521+
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
522+
523+
```bash
524+
sudo locale-gen en_US.UTF-8
525+
```
526+
527+
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
528+
529+
<details>
530+
<summary>Generate locale</summary>
531+
532+
Please, run this lines in your terminal.
533+
534+
```bash
535+
sudo update-locale LANG=en_US.UTF8
536+
sudo apt-get update
537+
sudo apt-get install language-pack-en language-pack-en-base manpages
538+
```
539+
</details>
540+
541541
### Zsh & Git
542542

543543
Instead of using the default `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)), we will use `zsh`.

0 commit comments

Comments
 (0)