ed5087f Fixing translation problems

4 files Authored by Aleksei Slaikovskii 6 years ago, Committed by tdudlak 6 years ago,
    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: Tibor Dudlak <tdudlak@redhat.com>
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    
        
file modified
+3 -1
file modified
+9 -4
file modified
+6 -8