New environment variable CUSTOM_LOCALE allows a user to define a locale per the /public/locales directory (this should be listed in the docs, will create a pull request for that too).
If the environment variable is blank or invalid it reverts to previous behaviour of system + default locale. Fully tested the above as follows:
CUSTOM_LOCALE = 'nl' < This works correctly, translating to nl.
CUSTOM_LOCALE = 'HelloThere' < This reverts to previous behavior
CUSTOM_LOCALE = '' < Also reverts
#CUSTOM_LOCALE = < Also reverts
Added the CUSTOM_FOOTER_TEXT and CUSTOM_FOOTER_URL environment variables.
If undefined, the default translated footer will display.
If only CUSTOM_FOOTER_TEXT is defined, only this defined text will display in place of the normal footer text.
If only CUSTOM_FOOTER_URL is defined then the defined URL will display.
If both variables are defined, the defined text will display as a link to the defined URL.