I was talking to Troy on the IRC last night, telling him how easy I thought it would be to add support for multiple languages to the CST website in a seamless way. He challenged me to actually do it, since I was claiming it was simple. So I wrote most of the code for that last night, dabbled a bit this morning, and rolled it out. Other than a typo mistake on an SSP page, it seems to be working as I'd expect. Try going here:
Now try navigating anywhere else on the site. It's going to silently fall back to English, since i don't have any other German (or other non-English) content available right now. I can't really translate pages, so there's not a ton I can do that way - but as people elsewhere in Cincom provide that content, I'll toss it online.
Once you specify a language, it'll stay that way until you manually reset via an url argument like &lang=en.
That should be a simpler menu pick, but there's not a lot of content right now in other languages. Anyway, this all took a little over an hour to do, while I ate dinner last night - as time goes by, I'll improve the way it all works. In the meantime, I call it a good start.
Technorati Tags:
internationalization, smalltalk