Around 2003, I built a multilingual website for a Linux hardware maker with its U.S. headquarters in Silicon Valley. The company had strong ties to Brazil, and the president and much of the staff were Brazilian. It sold worldwide through regional offices in Europe, Asia, Australia, and South America.
When I was hired, the company ran two separate sites, one from the U.S., the other from Brazil. They had similar branding, different content, and different maintainers, and both were hand-written HTML and CSS. I was brought in to replace them with a single integrated site that could serve every office, and make it so that salespeople could update content easily without having to learn a new tool. And this was long before WordPress became the viable CMS option it is today.
The Constraints
Unicode support back in the day was patchy; content came from salespeople, not web people, in the form of Word documents; and my São Paulo counterpart’s English was limited, so we worked in Portuguese, which I picked up on the job. (Because I already spoke Spanish, a coworker joked that I spoke Portuguese with a Mexican accent.) There were no good, user-friendly CMSes on the market, so I was going to have to come up with my own solution, and one that supported not just Latin-based alphabets, but Cyrillic and CJK as well.
The Decisions
The office was the unit, not the language. The U.K., the U.S., and Australia all share a language but not spelling, product availability, or contacts. Each office wanted its own pages, not an English page with someone else’s name on it. So the site was organized around offices, and language followed from that.
The workflow matched the users. Sales reps emailed their translations as Word files. I converted them to plain text, and the system stored them as flat files, with PostgreSQL tracking the products and pages and associating each translated document with the right product. The interface was the one thing the salespeople already knew how to use.
Visitors were routed automatically. The site picked a language from the visitor’s domain, such as .co.jp, then fell back to the browser’s language preference, then to English, so a visitor never saw an error page. A page without a local translation showed the English version, and a missing translation was never allowed to look like a broken link. It wasn’t a perfect solution, but it was a compromise we could live with back in the early aughts.
Characters were handled by hand, and then by research. Before the CMS, every accented character on the Brazilian pages was a typed entity like ç, to say nothing of non-Latin alphabets. Building the CMS meant learning UTF-8 properly, in a period when the documentation was thin and the browsers were inconsistent.
What I Learned
A lot of what made the project hard is solved now. A wide range of CMS options lets developers choose the right tool for their organization’s needs. Unicode won the encoding race, and plugins (or modules, or add-ons) handle language detection. What remains is the set of questions I had to answer then, without a framework: Who owns each page? Who approves a translation? And what does a visitor see when the translation isn’t ready?
I’ve had to solve these problems multiple times, with multiple generations of tools. The tools change each time, but the questions don’t. Bringing a multilingual website to life takes more than slapping on a language picker and calling it a day.
If your organization’s translations need to end up on a WordPress site, I’d like to hear how that handoff works today, and where it hurts. Get in touch.