diff --git a/lib/hammer_cli_foreman/commands.rb b/lib/hammer_cli_foreman/commands.rb index c22f33b7f..61436e416 100644 --- a/lib/hammer_cli_foreman/commands.rb +++ b/lib/hammer_cli_foreman/commands.rb @@ -17,6 +17,7 @@ def self.resource_config config[:logger] = Logging.logger['API'] config[:api_version] = 2 config[:aggressive_cache_checking] = HammerCLI::Settings.get(:foreman, :refresh_cache) || true + config[:headers] = { "Accept-Language" => HammerCLI::I18n.locale } config[:timeout] = HammerCLI::Settings.get(:foreman, :request_timeout) config end