The product-details code is live on several Mozilla sites now, including mozilla.com and mozilla-europe.org
Goals are listed in bold, followed by my suggested solutions. Please add more. :)
We can use an SVN external to share these configuration files across multiple sites and projects (in our case, mozilla.com, mozilla-europe.org, mozilla-world.org, and any others that want to use them). This means a simple
svn up will keep all our sites in sync.
Caching won't be a problem for this, because we will only be using it for version numbers.
- All language detection (an exception below) is condensed into non-language specific URLs (like going to http://www.mozilla.com/ or http://www.getfirefox.com/). Going to a URL like http://www.mozilla.com/en/ will do no language detection, either for the content on the page or the builds to offer the visitor.
- An exception is the uncommon case of us having a page in a language that we don't offer a build for. In this case, the download links will provide an alternate language (either specified by the page author, or a mapping in the svn external)
- Code (under heavy development, and seeking input): http://svn.mozilla.org/libs/product-details/