- Implement Country and Region models - Establish relationships between City, Country, and Region - Update ActiveAdmin setup for managing countries and regions - Add localization support for cities and countries in multiple languages - Create necessary migrations to support the new schema This update allows for better categorization of cities under their respective countries and regions, enhancing geographical structure and support for multilingual features.
31 lines
907 B
YAML
31 lines
907 B
YAML
# Files in the config/locales directory are used for internationalization and
|
|
# are automatically loaded by Rails. If you want to use locales other than
|
|
# English, add the necessary files in this directory.
|
|
#
|
|
# To use the locales, use `I18n.t`:
|
|
#
|
|
# I18n.t "hello"
|
|
#
|
|
# In views, this is aliased to just `t`:
|
|
#
|
|
# <%= t("hello") %>
|
|
#
|
|
# To use a different locale, set it with `I18n.locale`:
|
|
#
|
|
# I18n.locale = :es
|
|
#
|
|
# This would use the information in config/locales/es.yml.
|
|
#
|
|
# To learn more about the API, please read the Rails Internationalization guide
|
|
# at https://guides.rubyonrails.org/i18n.html.
|
|
#
|
|
# Be aware that YAML interprets the following case-insensitive strings as
|
|
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
|
|
# must be quoted to be interpreted as strings. For example:
|
|
#
|
|
# en:
|
|
# "yes": yup
|
|
# enabled: "ON"
|
|
|
|
en:
|
|
hello: "Hello world" |