freeipa/ipaclient/remote_plugins
Aleksei Slaikovskii 6c5a7464b2
Fixing translation problems
ipa rpc server did set the LANG environment variable on each
request and it was not thread safe which led to unpredictable
mixed languages output. 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
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
2018-01-31 16:03:19 +01:00
..
2_49 fix minor spelling mistakes 2017-05-19 09:52:46 +02:00
2_114 fix minor spelling mistakes 2017-05-19 09:52:46 +02:00
2_156 fix minor spelling mistakes 2017-05-19 09:52:46 +02:00
2_164 fix minor spelling mistakes 2017-05-19 09:52:46 +02:00
__init__.py Fixing translation problems 2018-01-31 16:03:19 +01:00
compat.py Replace LooseVersion 2016-11-24 15:46:40 +01:00
schema.py pylint: fix no-member in schema plugin 2017-09-08 15:42:07 +02:00