Added translations to entire app

This commit is contained in:
2025-04-23 07:45:33 +02:00
parent ce947100c6
commit 58e78acbba
22 changed files with 450 additions and 132 deletions

View File

@@ -16,6 +16,11 @@ module Terminator
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w(assets tasks))
# Set available locales and default locale
config.i18n.available_locales = [:en, :bs]
config.i18n.default_locale = :bs
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files