osCommerce attempts to do that, but I don't think it's consistently successful. It queries the browser for what language it's configured in, and selects that as the default store language to use (if installed/configured, otherwise fall back to a designated language, and finally English). Apparently a lot of people just leave their browsers configured in English.