Comment 2 for bug 1616357

Revision history for this message
Esha Seth (eshaseth) wrote : Re: The Error Response REST API GET/POST on networks is not translated

The issue is with the result not getting translated when other locale is enabled.It always returns English.

For eg: In cinder following is returned after translation for incorrect data:
GET for openstack/volume/v2/cafabe5dfa87448d950914a3983d05e1/volumes/793c1e3a-8f32-4291-8089-0af3bc1dee4
Response is translated as following:

Response:

    {
        "itemNotFound":
        {
            "message": "[G'Volume 793c1e3a-8f32-4291-8089-0af3bc1dee4 could not be found.ฏูİı|]",
            "code": 404
        }
    }