{"push_id":1413991857,"size":1,"distinct_size":1,"ref":"refs/heads/set-bridge-locale","head":"b708f613ab74513a2dfabf5d5588e80801ebe7b6","before":"496db0602d8b68e0e2571f13a96e031d02292756","commits":[{"sha":"b708f613ab74513a2dfabf5d5588e80801ebe7b6","author":{"name":"Stef Walter","email":"777701e51db7e8ef0cf597754920a0c5df687af7@redhat.com"},"message":"bridge: Set the bridge LC_ALL locale for user language choice\n\nThe bridge itself doesn't do any translation of strings, but\ncalling setlocale() and setting the LANG environment variable\nhere allows:\n\n * Strings to be translated in libraries.\n * Spawned processes to be translated correctly.\n\nNote that we find out about the front end's language choice via\nthe cockpitlang cookie and the Accept-Language HTTP header on\npackage requests.\n\nWe make sure to track what the language was set to and only change\nit if we receive a different header here.\n\nSince setlocale() is rather strict about what kind of locales it\naccepts we have to be more verbose about locales in shell/manifest.json\nand rather than setting just languages, set entire locales.\n\nAdd tests for this functionality.\n\nCloses #5443","distinct":true,"url":"https://api.github.com/repos/stefwalter/cockpit/commits/b708f613ab74513a2dfabf5d5588e80801ebe7b6"}]}
{"actor":{"display_login":"stefwalter"}}