Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

---

## [1.24.2] - 2026-04-27
- Update CLDR subdivision names for IT-OT (Gallura Nord-Est Sardegna) and IT-CI (Sulcis Iglesiente) in `:en`, `:it`, and `:de` only; other locales remain on stale upstream CLDR pending an upstream fix [#458](https://github.com/Shopify/worldwide/pull/458)

## [1.24.1] - 2026-04-15
- Update zips_crossing_provinces in IE [#454](https://github.com/Shopify/worldwide/pull/454)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GIT
PATH
remote: .
specs:
worldwide (1.24.1)
worldwide (1.24.2)
activesupport (>= 7.0)
i18n
phonelib (~> 0.8)
Expand Down
4 changes: 2 additions & 2 deletions data/cldr/locales/de/subdivisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ de:
itcb: Provinz Campobasso
itce: Provinz Caserta
itch: Provinz Chieti
itci: Provinz Carbonia-Iglesias
itci: Provinz Sulcis Iglesiente
itcl: Provinz Caltanissetta
itcn: Provinz Cuneo
itco: Provinz Como
Expand Down Expand Up @@ -2007,7 +2007,7 @@ de:
itnu: Provinz Nuoro
itog: Provinz Ogliastra
itor: Provinz Oristano
itot: Provinz Olbia-Tempio
itot: Provinz Gallura Nord-Est Sardegna
itpa: Provinz Palermo
itpc: Provinz Piacenza
itpd: Provinz Padua
Expand Down
4 changes: 2 additions & 2 deletions data/cldr/locales/en/subdivisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2446,7 +2446,7 @@ en:
itcb: Campobasso
itce: Caserta
itch: Chieti
itci: Carbonia-Iglesias
itci: Sulcis Iglesiente
itcl: Caltanissetta
itcn: Cuneo
itco: Como
Expand Down Expand Up @@ -2486,7 +2486,7 @@ en:
itnu: Nuoro
itog: Ogliastra
itor: Oristano
itot: Olbia-Tempio
itot: Gallura Nord-Est Sardegna
itpa: Palermo
itpc: Piacenza
itpd: Padua
Expand Down
4 changes: 2 additions & 2 deletions data/cldr/locales/it/subdivisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ it:
itcb: Campobasso
itce: Caserta
itch: Chieti
itci: Carbonia-Iglesias
itci: Sulcis Iglesiente
itcl: Caltanissetta
itcn: Cuneo
itco: Como
Expand Down Expand Up @@ -2030,7 +2030,7 @@ it:
itnu: Nuoro
itog: Ogliastra
itor: Oristano
itot: Olbia-Tempio
itot: Gallura Nord-Est Sardegna
itpa: Palermo
itpc: Piacenza
itpd: Padova
Expand Down
2 changes: 1 addition & 1 deletion lib/worldwide/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Worldwide
VERSION = "1.24.1"
VERSION = "1.24.2"
end
24 changes: 22 additions & 2 deletions rake/cldr/patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def perform
[:itcb, "provincia di Campobasso", "Campobasso"],
[:itce, "provincia di Caserta", "Caserta"],
[:itch, "provincia di Chieti", "Chieti"],
[:itci, "provincia di Carbonia-Iglesias", "Carbonia-Iglesias"],
[:itci, "provincia di Carbonia-Iglesias", "Sulcis Iglesiente"],
[:itcl, "provincia di Caltanissetta", "Caltanissetta"],
[:itcn, "Provincia di Cuneo", "Cuneo"],
[:itco, "provincia di Como", "Como"],
Expand Down Expand Up @@ -235,7 +235,7 @@ def perform
[:itnu, "provincia di Nuoro", "Nuoro"],
[:itog, "provincia dell’Ogliastra", "Ogliastra"],
[:itor, "provincia di Oristano", "Oristano"],
[:itot, "provincia di Olbia-Tempio", "Olbia-Tempio"],
[:itot, "provincia di Olbia-Tempio", "Gallura Nord-Est Sardegna"],
[:itpa, "provincia di Palermo", "Palermo"],
[:itpc, "provincia di Piacenza", "Piacenza"],
[:itpd, "provincia di Padova", "Padova"],
Expand Down Expand Up @@ -308,6 +308,26 @@ def perform
end
end

# Italy restored two Sardinian provinces in June 2025 with new names:
# IT-OT: Olbia-Tempio -> Gallura Nord-Est Sardegna
# IT-CI: Carbonia-Iglesias -> Sulcis Iglesiente
# The :it patch above already covers Italian. We also patch :en (source
# for downstream English UIs) and :de (largest non-en/it consumer of
# IT addresses). Other locales remain on the stale upstream CLDR
# values pending an upstream fix; Shopify's translation platform only
# propagates files under data/regions, data/other/hand_translated, and
# data/other/timezones, so it cannot fan these out automatically.
# TODO: report upstream at https://unicode-org.atlassian.net/ and
# remove these patches once CLDR ships the new names.
patch_subdivisions(:en, [
[:itot, "Olbia-Tempio", "Gallura Nord-Est Sardegna"],
[:itci, "Carbonia-Iglesias", "Sulcis Iglesiente"],
])
patch_subdivisions(:de, [
[:itot, "Provinz Olbia-Tempio", "Provinz Gallura Nord-Est Sardegna"],
[:itci, "Provinz Carbonia-Iglesias", "Provinz Sulcis Iglesiente"],
])

# Subdivisions of Japan in English
#
# A customer has requested that we remove macrons from English names of Japanese subdivisions,
Expand Down
Loading