---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# locale-gen

> Generate locales defined in `/etc/locale.gen`.
> More information: <https://manned.org/locale-gen>.

- Generate locales:

`sudo locale-gen`

- Do not delete undefined locales:

`sudo locale-gen --keep-existing`
