Sanity Studio v3 launches Dec 8th - See it in action at Sanity Product Day →

Velobici: Translation Strategy

By Omar Benseddik

Velobici is a UK-based e-commerce that produces and sells luxury cycling apparel. They noticed that their platform started getting traction in Japan and South Korea, so they approached us to implement a translation strategy so that they can have content easily translated.

Region Selector
Country Selector

About the project

We started with an audit of Velobici's codebase and quickly found out that there was one main problem we had to solve before making content translatable.

The challenge was that content was coming from 3 different places: Sanity CMS, Swell e-commerce platform, and the code itself.

So we started by migrating as much content as possible to Sanity, and only leaving products related content on Swell, which makes it easier to translate in places like the Cart.

We used Sanity's official internationalization plugin along with Next.js built-in internationalized routing feature to enable translation for each page.

To avoid any redundant code, we created GROQ utility queries to pull translations from Sanity for a specific language and fallback to English if the translated content doesn't exist.

Contributor

Other projects by author

Beyond Creative

Beyond Creative works on creating marketing campaigns within Fortnite for events and brands including SuperBowl, NFL, Verizon, Timberland, BALENCIAGA, Adidas, Epic Games, NVIDIA, Chipotle, and LG. We've built for them a performant site to display their work.

Omar Benseddik
Go to Beyond Creative

Heavybit

Heavybit is a San Francisco-based investor in developer-first startups. We helped them consolidate content in Sanity and built a performant and feature-rich site with Remix.

Omar Benseddik
Go to Heavybit

Tinloof 2.0

We've rebranded Tinloof and improved the content editing experience to create case studies rapidly.

Omar Benseddik
Go to Tinloof 2.0

exakt health

exakt health is a physiotherapy mobile application that helps to prevent and recover from sports injuries. They approached us to help them build a fast and SEO-friendly website they can easily manage through Sanity.

Omar Benseddik
Go to exakt health