mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add option to set lang per domain
This commit is contained in:
parent
c6153c5b44
commit
b1e6b8a5e9
1 changed files with 6 additions and 2 deletions
|
@ -148,7 +148,6 @@ settings =
|
||||||
|
|
||||||
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
|
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
|
||||||
|
|
||||||
# Site Languages
|
|
||||||
i18n:
|
i18n:
|
||||||
subdomainLang:
|
subdomainLang:
|
||||||
www: {lngCode:process.env["SHARELATEX_SITE_LANGUAGE"] or "en", url: siteUrl}
|
www: {lngCode:process.env["SHARELATEX_SITE_LANGUAGE"] or "en", url: siteUrl}
|
||||||
|
@ -376,6 +375,11 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
|
||||||
rejectUnauthorized: parse(process.env["SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH"])
|
rejectUnauthorized: parse(process.env["SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH"])
|
||||||
|
|
||||||
|
|
||||||
|
# i18n
|
||||||
|
if process.env["SHARELATEX_LANG_DOMAIN_MAPPING"]?
|
||||||
|
|
||||||
|
settings.i18n.subdomainLang = parse(process.env["SHARELATEX_LANG_DOMAIN_MAPPING"])
|
||||||
|
|
||||||
# Password Settings
|
# Password Settings
|
||||||
# -----------
|
# -----------
|
||||||
# These restrict the passwords users can use when registering
|
# These restrict the passwords users can use when registering
|
||||||
|
|
Loading…
Reference in a new issue