songtianlun
ebaf7a3f34
- 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.
15 lines
300 B
YAML
15 lines
300 B
YAML
en:
|
|
regions:
|
|
AS: 'Asia'
|
|
SA: 'South Asia'
|
|
SEA: 'Southeast Asia'
|
|
EA: 'East Asia'
|
|
ME: 'Middle East'
|
|
AF: 'Africa'
|
|
NA: 'North Africa'
|
|
SSA: 'Sub-Saharan Africa'
|
|
EU: 'Europe'
|
|
NAM: 'North America'
|
|
SAM: 'South America'
|
|
CAM: 'Central America'
|
|
OC: 'Oceania' |