mirror of
https://github.com/mempool/mempool.git
synced 2024-12-26 16:24:26 +01:00
69 lines
794 B
Plaintext
69 lines
794 B
Plaintext
map $http_accept_language $header_lang {
|
|
default '';
|
|
~*^en-US '';
|
|
~*^en '';
|
|
~*^ar ar;
|
|
~*^ca ca;
|
|
~*^cs cs;
|
|
~*^de de;
|
|
~*^es es;
|
|
~*^fa fa;
|
|
~*^fr fr;
|
|
~*^ko ko;
|
|
~*^hi hi;
|
|
~*^it it;
|
|
~*^he he;
|
|
~*^ka ka;
|
|
~*^hu hu;
|
|
~*^mk mk;
|
|
~*^nl nl;
|
|
~*^ja ja;
|
|
~*^nb nb;
|
|
~*^pl pl;
|
|
~*^pt pt;
|
|
~*^ro ro;
|
|
~*^ru ru;
|
|
~*^sl sl;
|
|
~*^fi fi;
|
|
~*^sv sv;
|
|
~*^th th;
|
|
~*^tr tr;
|
|
~*^uk uk;
|
|
~*^vi vi;
|
|
~*^zh zh;
|
|
}
|
|
map $cookie_lang $lang {
|
|
default $header_lang;
|
|
~*^en-US '';
|
|
~*^en '';
|
|
~*^ar ar;
|
|
~*^ca ca;
|
|
~*^cs cs;
|
|
~*^de de;
|
|
~*^es es;
|
|
~*^fa fa;
|
|
~*^fr fr;
|
|
~*^ko ko;
|
|
~*^hi hi;
|
|
~*^it it;
|
|
~*^he he;
|
|
~*^ka ka;
|
|
~*^hu hu;
|
|
~*^mk mk;
|
|
~*^nl nl;
|
|
~*^ja ja;
|
|
~*^nb nb;
|
|
~*^pl pl;
|
|
~*^pt pt;
|
|
~*^ro ro;
|
|
~*^ru ru;
|
|
~*^sl sl;
|
|
~*^fi fi;
|
|
~*^sv sv;
|
|
~*^th th;
|
|
~*^tr tr;
|
|
~*^uk uk;
|
|
~*^vi vi;
|
|
~*^zh zh;
|
|
}
|