Email or username:

Password:

Forgot your password?
Eugen Rochko

If you run a regional Mastodon server, you can lock the language the interface appears in with the DEFAULT_LOCALE environment variable.

No comments
vanilla "hehe" cherry

@Gargron this sounds like a "did you know" startup popup window

shine

@Gargron couldn't you use the #UNIX `LANG` and `LANGUAGE` #EnvironmentVariable which does the same thing rather than define a new variable specifically for the purpose?

In my humble opinion, we should stick to as much of the #UNIXPhilosophy when developing for UNIX ( unless you plan on supporting Windows natively ).

欧醚2.0

@Gargron Really? But according to the code, it seems that `current_user.locale` (if signed in) and `session[:locale]` will be considered first.
Also, I just did a local test and failed to lock the language for new user(it will use `session[:locale]` instead)

Go Up