i18n: server-wide locale via lang/<code>.conf catalogs (fr, es); numeric prose auto-translated at the chokepoint, en = zero-cost passthrough
This commit is contained in:
parent
5914a6d993
commit
560c860f1d
6 changed files with 686 additions and 0 deletions
|
|
@ -372,6 +372,12 @@ antiabuse {
|
|||
# --- hashident: replace ident with a stable opaque token per IP ---
|
||||
# hashident yes;
|
||||
# hashident_key "CHANGE_THIS_SECRET"; # HMAC key; makes the mapping unforgeable
|
||||
# --- locale: server-wide language for client-facing messages. "en" (default) is
|
||||
# English passthrough (zero cost). Any other <code> loads lang/<code>.conf and
|
||||
# translates numeric/notice prose; protocol tokens & the S2S wire stay English.
|
||||
# Rehash to switch live. Ships with fr (Français) and es (Español). ---
|
||||
# locale fr;
|
||||
# locale_dir "lang"; # directory holding <code>.conf catalogs (default: lang)
|
||||
# --- solvemsg: unvouched users answer one arithmetic question before their
|
||||
# PMs are delivered (opers & logged-in accounts exempt). ---
|
||||
# solvemsg yes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue