Default language


#1

Hello.

I’m wondering if there is a setting to have the instance’s language be French by default.

I’ve had a few cases where auto-detection doesn’t work, perhaps a browser, but still, it happens.

Cheers,


#2

Solution:

Go to .env.production and add:
DEFAULT_LOCALE=fr


#3

After adding that line should go to rebuild or something? It doesn’t take effect on my end.


#4

Restart Mastodon after changing .env.production. If you use docker-compose, it should detect the change and handle it automatically when you do docker-compose up -d


#6