castellano
This commit is contained in:
parent
bfb0e2278e
commit
9801cf8521
3 changed files with 12 additions and 0 deletions
2
Gemfile
2
Gemfile
|
@ -29,6 +29,8 @@ gem 'ssh_data'
|
|||
|
||||
gem 'anomaly_detection'
|
||||
|
||||
gem 'rails-i18n'
|
||||
|
||||
group :development, :test do
|
||||
gem 'pry'
|
||||
end
|
||||
|
|
|
@ -168,6 +168,9 @@ GEM
|
|||
nokogiri (>= 1.6)
|
||||
rails-html-sanitizer (1.4.2)
|
||||
loofah (~> 2.3)
|
||||
rails-i18n (7.0.3)
|
||||
i18n (>= 0.7, < 2)
|
||||
railties (>= 6.0.0, < 8)
|
||||
railties (6.1.6)
|
||||
actionpack (= 6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
|
@ -268,6 +271,7 @@ DEPENDENCIES
|
|||
puma (~> 5.0)
|
||||
rack-mini-profiler (~> 2.0)
|
||||
rails (~> 6.1.4)
|
||||
rails-i18n
|
||||
rubocop
|
||||
sass-rails (>= 6)
|
||||
spring
|
||||
|
|
6
config/initializers/locale.rb
Normal file
6
config/initializers/locale.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.configure do
|
||||
config.i18n.available_locales = %i[es en]
|
||||
config.i18n.default_locale = :es
|
||||
end
|
Loading…
Reference in a new issue