diff --git a/lib/facebooker2/rails/helpers/javascript.rb b/lib/facebooker2/rails/helpers/javascript.rb index 16c9a91..dc6e489 100644 --- a/lib/facebooker2/rails/helpers/javascript.rb +++ b/lib/facebooker2/rails/helpers/javascript.rb @@ -7,6 +7,7 @@ module Facebooker2 cookie = opts[:cookie] status = opts[:status] xfbml = opts[:xfbml] + locale = options[:locale] || "en_US" extra_js = capture(&proc) if block_given? js = <<-JAVASCRIPT