Basic feature implemented, very basic poc
This commit is contained in:
parent
216089a3e7
commit
48c0067076
118 changed files with 2113 additions and 20 deletions
|
|
@ -11,6 +11,6 @@
|
|||
# end
|
||||
|
||||
# These inflection rules are supported but not enabled by default:
|
||||
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
# inflect.acronym "RESTful"
|
||||
# end
|
||||
ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
inflect.irregular "criterion", "criteria"
|
||||
end
|
||||
|
|
|
|||
9
config/initializers/locale.rb
Normal file
9
config/initializers/locale.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
# Where the I18n library should search for translation files
|
||||
# I18n.load_path += Dir[Rails.root.join('lib', 'locale', '*.{rb,yml}')]
|
||||
|
||||
# Permitted locales available for the application
|
||||
I18n.available_locales = [:"de-CH"]
|
||||
|
||||
# Set default locale to something other than :en
|
||||
I18n.default_locale = :"de-CH"
|
||||
Loading…
Add table
Add a link
Reference in a new issue