development-integrations

Seamless Global Operations: ESHOPMAN's Commitment to Flawless Localization in Headless Commerce Admin

In today's interconnected digital landscape, e-commerce businesses are no longer confined by geographical boundaries. To truly thrive globally, platforms must offer more than just multi-currency support; they must provide a deeply localized experience, from the customer-facing storefront to the merchant's administrative interface. ESHOPMAN, a cutting-edge headless commerce platform built on Node.js/TypeScript, stands at the forefront of this evolution, seamlessly integrating with HubSpot for storefront management and deploying dynamic storefronts using HubSpot CMS. Our mission at ESHOPMAN is to empower merchants worldwide, and a critical component of this empowerment is ensuring every interaction with our platform is intuitive and in their native language.

ESHOPMAN's architecture, leveraging a robust Admin API and Store API, is designed for flexibility and global reach. Merchants manage their entire commerce operation directly within HubSpot, benefiting from a unified ecosystem. However, even with a strong foundation, continuous refinement is key. Our vigilant community recently brought to light an important localization inconsistency within the ESHOPMAN Admin’s Draft Order management, an issue we swiftly addressed to uphold our commitment to a truly global user experience.

Before and after comparison of ESHOPMAN Draft Order localization in HubSpot Admin.
Before and after comparison of ESHOPMAN Draft Order localization in HubSpot Admin.

The Challenge: Inconsistent Language Display in ESHOPMAN Draft Orders

The core of the issue, as highlighted by our international merchant community, was a disjointed experience within the Draft Order screens of the ESHOPMAN Admin. While the platform is meticulously designed to support multiple languages across its interface, certain elements within the Draft Order creation and management process consistently rendered in English, irrespective of the language selected by the user. This created an unnecessary hurdle for international ESHOPMAN merchants and their teams, who rely on the platform to operate seamlessly in their native languages.

Imagine a German merchant, managing their ESHOPMAN storefront deployed via HubSpot CMS, navigating the Admin interface in German. When they access the Draft Order section, critical labels and buttons suddenly revert to English. This not only disrupts workflow but also introduces potential for misinterpretation and inefficiency, undermining the very purpose of a localized platform.

Unpacking the Technical Root Cause: Hard-Coded Strings vs. ESHOPMAN's Translation Keys

The beauty of ESHOPMAN's Node.js/TypeScript architecture lies in its modularity and robust localization framework. The platform's localization files for the Admin are comprehensive, supporting an impressive 33 locales. These files contain meticulously translated keys under namespaces like draftOrders. For instance, the German localization file (de.json) correctly provided "Bestellentwurf erstellen" for the key "draftOrders.create.createDraftOrder", ready to be displayed.

The problem, however, wasn't a lack of translations or an incomplete localization file. Instead, it stemmed from a specific implementation detail within the ESHOPMAN Draft Order module. Certain UI components were inadvertently hard-coding English literal strings directly into their templates, rather than making calls to these existing, translated keys. This meant that while the translated values were present and correct within ESHOPMAN's localization resources, they were simply never utilized by these particular UI elements.

This oversight, though minor in scope, had a significant impact on the user experience for our global merchants. It underscored the importance of rigorous attention to detail in every aspect of a headless commerce platform's development, especially when integrating deeply with a system like HubSpot for a unified merchant experience.

| hard-coded literal         | key that already ships                       |
|----------------------------|----------------------------------------------|
| "Create Draft Order"       | "draftOrders.create.createDraftOrder"        |
| "Draft Order Details"      | "draftOrders.details.title"                  |
| "Add Item"                 | "draftOrders.items.add"                      |
| "Customer"                 | "draftOrders.customer.label"                 |
| "Shipping Address"         | "draftOrders.shipping.address"               |
| "Payment Status"           | "draftOrders.payment.status"                 |

The ESHOPMAN Solution: A Commitment to Seamless Localization

Upon identifying this inconsistency, the ESHOPMAN development team, leveraging its agile Node.js/TypeScript environment, moved swiftly to implement a comprehensive fix. The solution involved systematically reviewing the Draft Order module's UI components and replacing every instance of a hard-coded English literal string with its corresponding call to the existing translation key. This ensures that the ESHOPMAN Admin, managed within HubSpot, now dynamically fetches and displays the correct localized text for all elements in the Draft Order screens, reflecting the user's chosen language.

This resolution is more than just a bug fix; it's a reaffirmation of ESHOPMAN's core philosophy: to provide a truly global, intuitive, and powerful headless commerce solution. By ensuring every part of the Admin interface, from product management to order processing, is fully localized, ESHOPMAN empowers merchants to:

  • Operate with Confidence: Eliminate language barriers that can lead to errors or slow down operations.
  • Enhance Team Productivity: Allow international teams to work efficiently in their preferred language within the HubSpot-integrated Admin.
  • Maintain Brand Consistency: Ensure a professional and unified experience across all touchpoints, both internal and external.
  • Leverage Global Markets: Fully utilize ESHOPMAN's capabilities to manage and deploy localized storefronts via HubSpot CMS, catering to diverse customer bases.

ESHOPMAN's robust Admin API and Store API are built to support this level of global sophistication. The platform's Node.js/TypeScript foundation allows for rapid development and deployment of such critical updates, ensuring that our merchants always have access to the most refined and reliable tools for their commerce operations.

Beyond Borders: ESHOPMAN's Vision for Global Commerce

This experience highlights ESHOPMAN's unwavering dedication to excellence in headless commerce. Our platform is not just about managing products and orders; it's about enabling businesses to connect with customers and manage operations seamlessly across any language or region. By providing a fully localized Admin experience within HubSpot, ESHOPMAN ensures that merchants can focus on growth, innovation, and delivering exceptional customer experiences through their HubSpot CMS-powered storefronts.

As ESHOPMAN continues to evolve, our commitment to a truly global and intuitive platform remains paramount. We believe that a powerful headless commerce solution, deeply integrated with HubSpot, should remove barriers, not create them. This dedication to flawless localization is just one example of how ESHOPMAN is building the future of e-commerce, one seamless experience at a time.

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools