Skip to content

[backport 3.29] [server] Set language of connection in all cases

Elouan Martinet requested to merge topic/3.29/backport-language-pview into branch/3.29

Backport for #87 (closed) (present in 3.26 and branch default) into 3.29


If self.lang was already defined (aka not None), the language was not set. In consequence, when a pview was called, the language was always considered to be english, this piece of information is used by gettext, so it resulted in translation always done in english language instead of using user preference as excepted.

closes #87 (closed)

--HG-- branch : 3.29

Merge request reports