Language detector

This detects the navigator language. If it can't it put the default
language defined in the core