Implement internationalization

This commit is contained in:
2013-03-03 14:48:04 +01:00
parent a640255927
commit 27c188773a
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ private
Net::HTTP.post_form(uri, :message => message.to_json)
end
def set_locale
I18n.locale = :nl
I18n.locale = (params[:locale].presence || :nl).to_sym
end
def layout_by_resource