🇺🇸United States @dinonet

Account created on 7 September 2018, about 6 years ago
#

Recent comments

🇺🇸United States dinonet

Hi tdwhite,

I've been able to modify the subdivisions this way but the part I'm missing is the translated labels coming from the json files (ex. AE.json)

It's the local_code which is the translated label that I cannot override. Any ideas on how to use a custom json for these?

{
"country_code": "AE",
"locale": "ar",
"subdivisions": {
"Abu Dhabi": {
"local_code": "أبو ظبي",
"iso_code": "AE-AZ"
},
"Sharjah": {
"local_code": "إمارة الشارقةّ",
"local_name": "الشارقة",
"iso_code": "AE-SH"
},
"Fujairah": {
"local_code": "الفجيرة",
"iso_code": "AE-FU"
},
"Umm Al Quwain": {
"local_code": "ام القيوين",
"iso_code": "AE-UQ"
},
"Dubai": {
"local_code": "إمارة دبيّ",
"local_name": "دبي",
"iso_code": "AE-DU"
},
"Ras al Khaimah": {
"local_code": "إمارة رأس الخيمة",
"local_name": "رأس الخيمة",
"iso_code": "AE-RK"
},
"Ajman": {
"local_code": "عجمان",
"iso_code": "AE-AJ"
}
}
}

🇺🇸United States dinonet

Could this work from preprocess_field hook?

Giving it a try, thanks.

Production build 0.71.5 2024