]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application.rb
started Russian translation
[rails.git] / app / controllers / application.rb
index c5624db146b4cdbfb86d03f84308c2d6f721f96e..6ead2d6685f260f32665bd321958ad5b81dfd66d 100644 (file)
@@ -112,6 +112,8 @@ class ApplicationController < ActionController::Base
     end
 
     I18n.locale = request.compatible_language_from(I18n.available_locales)
+
+    response.headers['Content-Language'] = I18n.locale
   end
 
   def api_call_handle_error