I was interested in what locales are predominantly being used in Magento installations. This kind of information is useful to see Magento’s reach across the world. What’s more, it’s interesting for developers to get some indication about what translations they should be looking to add to their modules.
I used the Magento sites from this month’s eCommerce survey and the first thing I did was look up their IP and hosting location. This isn’t a great representation; we don’t know for sure that stores are being hosted in the country that they’re based, but it’s a start.
|Number of Sites||Hosting Location|
As we can see, United States has the runaway majority and Germany has the largest European presence. Incidentally, the successful Meet Magento event was hosted in Leipzig earlier this month. The UK and France follow not far behind. The biggest limitation of this methodology was that I was unable to map a country from the IP of quite a few of the sites.
So, my improvement was to take a closer look at the actual content for each of the sites. Luckily, by default in Magento there is a language code in the HTML tag at the top of the source of the page. When a different locale is set up, Magento changes this tag to reflect the change. For example, demo.magentocommerce.com shows:
while score.nl uses:
So let’s take a look at the results. Over 63% of sites are in English, 13% German, 7% French and 4% Dutch. This is actually pretty similar to the hosting location results.
Does this tie in with what you are seeing? Any module and theme developers out there that want to share their experiences with language translations?
If anyone has any other ideas for things I could write a cheeky script to analyse, let me know :).