[backport 3.29] [server] Set language of connection in all cases
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