GlobeRoute's shipment API added localization support and began returning translated status strings instead of machine-readable codes. Consumer systems had hard-coded translated values as identifiers. When the locale configuration changed, every status check broke.
What happened
GlobeRoute’s logistics platform added localization to its shipment status API, allowing status values to be returned in the requesting user’s language. The team implemented this by translating the status values in the response—"In Transit" became "En tránsito" for Spanish users.
What hadn’t been anticipated was how consumers were using those status values. Several merchant integrations and partner systems had saved the English status strings as identifiers in their own databases—not display labels. Order management systems used "In Transit" as a key in routing logic. Customer notification systems triggered on exact string matches.
When GlobeRoute updated the default locale configuration for certain regions, those status values changed. Routing logic stopped matching. Notifications stopped triggering. Merchants saw orders that appeared stuck despite having valid tracking events.
Root cause
The API contract defined status values as human-readable strings with no machine-readable equivalent. Consumers reasonably used those strings as stable identifiers. The localization feature changed the values consumers were depending on without being recognized as a breaking change.
The fix
The API was updated to return a stable machine-readable status code alongside the localized display string. The code (IN_TRANSIT, DELIVERED, EXCEPTION) never changed. The display string could be localized. Consumer systems migrated to use the code for logic and the string only for display. Contract tests verified the code was always present and always stable.
Lesson learned
If consumers will use a value as an identifier, it must be stable and machine-readable. Display values and logic values should be separated in the API contract—don’t make consumers choose between localization and reliability.