Welcome Guest, Not a member yet? Register   Sign In
supported locales (array) in .env

(This post was last modified: 08-12-2022, 02:30 PM by kenjis.)

PHP Code:
public $supportedLocales = ['en'nullnull]; 

app.supportedLocales.0 = fr
app.supportedLocales.1 = en
app.supportedLocales.2 = de

I don't think there are any cases where the supported locales need to be changed depending on the environment.

And I don't think we need to use $threshold like [6,8,9] in the config. A single value is sufficient.

Messages In This Thread
supported locales (array) in .env - by parisiam - 08-14-2020, 07:46 AM
RE: supported locales (array) in .env - by kenjis - 08-12-2022, 02:27 PM

Theme © iAndrew 2016 - Forum software by © MyBB