# i18n

Remove internationalization, added by [`vela enable i18n`](/enable/i18n).

### Syntax

```
$ vela disable i18n
```

### Options

- `-y, --yes` - Skip the confirmation prompt

### What it removes

The generated files:

```
wuchale.config.js
src/lib/url.ts
src/lib/components/language-select.svelte
```

The `wuchale` and `@wuchale/svelte` packages are uninstalled, and the changes made to the rest of the project are reverted:

- The Wuchale plugin comes out of the Vite config, and the `$locales` alias out of the SvelteKit config.
- The Wuchale handle comes out of `src/hooks.server.ts`. If nothing else is left in the file, it is deleted.
- The de-localizing `reroute` comes out of `src/hooks.ts`, leaving content negotiation's reroute if it is composed with one. If nothing else is left in the file, it is deleted.
- The `<html>` tag in `src/app.html` goes back to `lang="en"`.
- The loader comes out of `src/routes/+layout.ts`, leaving whatever else the file exports. If nothing else is left, it is deleted.
- The language select comes out of the root layout.
- The Wuchale block comes out of `.gitignore`.

### What it leaves

- `src/locales`, with your `.po` catalogs and the loaders Wuchale generated. Delete it once you no longer need the translations.
- The shadcn-svelte `select` component — other code may use it
- A `load` in `src/routes/+layout.ts` with code of its own besides the loader, a `reroute` in `src/hooks.ts` or a `handle` in `src/hooks.server.ts` it can't take apart. The file is left as it is, and the command prints what to remove by hand.