This PR enables the use of an environment variable, VITE_CLIENT_DEFAULT_LANGUAGE, to set the default language for the application, enhancing deployment flexibility.
Changes
preferences.ts now reads the default language from VITE_CLIENT_DEFAULT_LANGUAGE.
updated documentation to explain the setup of the environment variable.
The variable prefix VITE_ is used as the discussion on stackoverflow.
This PR enables the use of an environment variable,
VITE_CLIENT_DEFAULT_LANGUAGE
, to set the default language for the application, enhancing deployment flexibility.Changes
preferences.ts
now reads the default language fromVITE_CLIENT_DEFAULT_LANGUAGE
.The variable prefix
VITE_
is used as the discussion on stackoverflow.Thanks for reviewing this update.