URL:
https://github.com/freeipa/freeipa/pull/1493
Author: slaykovsky
Title: #1493: Fixing translation problems
Action: opened
PR body:
"""
ipa rpc server did set the LANG environment variable on each
request and it was not thread safe which led to the problems
which are described in the pagure ticket. Also, there were
mistakes regarding setting the Accept-Language HTTP header.
Now on each request we're setting the "languages" property
in the context thread local variable and client is setting the
Accept-Language HTTP header correctly.
Also, as the server is caching the schema and the schema can be
generated for several languages it's good to store different
schema fingerprint for each language separately.
pagure:
https://pagure.io/freeipa/issue/7238
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1493/head:pr1493
git checkout pr1493