2025-07-06 21:16:53 +02:00
|
|
|
## How To Use
|
2025-07-06 21:14:47 +02:00
|
|
|
|
2025-07-06 21:16:53 +02:00
|
|
|
Place your translation JSON files inside any `locales` directory, anywhere within your project or working folder.
|
2025-07-06 21:14:47 +02:00
|
|
|
|
2025-07-06 21:16:53 +02:00
|
|
|
Each JSON file ***should*** be named after the language code, for example:
|
|
|
|
`en.json`, `es.json`, `fr.json`.
|
|
|
|
(even calling it terrorism.json works)
|
2025-07-06 21:14:47 +02:00
|
|
|
|
2025-07-06 21:16:53 +02:00
|
|
|
Ensure you have a `.env` file with a `locale` variable that sets your default language code, like so:
|
|
|
|
```env
|
|
|
|
locale=en
|