- 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.
55 lines
865 B
YAML
55 lines
865 B
YAML
en:
|
|
countries:
|
|
# East Asia
|
|
CN: 'China'
|
|
JP: 'Japan'
|
|
KR: 'South Korea'
|
|
TW: 'Taiwan'
|
|
HK: 'Hong Kong'
|
|
|
|
# South Asia
|
|
IN: 'India'
|
|
PK: 'Pakistan'
|
|
BD: 'Bangladesh'
|
|
|
|
# Southeast Asia
|
|
ID: 'Indonesia'
|
|
VN: 'Vietnam'
|
|
TH: 'Thailand'
|
|
MM: 'Myanmar'
|
|
SG: 'Singapore'
|
|
|
|
# Middle East
|
|
TR: 'Turkey'
|
|
IR: 'Iran'
|
|
SA: 'Saudi Arabia'
|
|
IQ: 'Iraq'
|
|
|
|
# Africa
|
|
NG: 'Nigeria'
|
|
EG: 'Egypt'
|
|
CD: 'Democratic Republic of the Congo'
|
|
TZ: 'Tanzania'
|
|
ZA: 'South Africa'
|
|
KE: 'Kenya'
|
|
AO: 'Angola'
|
|
ML: 'Mali'
|
|
CI: 'Ivory Coast'
|
|
|
|
# Europe
|
|
RU: 'Russia'
|
|
GB: 'United Kingdom'
|
|
DE: 'Germany'
|
|
|
|
# North America
|
|
US: 'United States'
|
|
MX: 'Mexico'
|
|
|
|
# South America
|
|
BR: 'Brazil'
|
|
PE: 'Peru'
|
|
CO: 'Colombia'
|
|
CL: 'Chile'
|
|
|
|
# Oceania
|
|
AU: 'Australia' |