Update constants.php

Part of the proposed modifications to have the current language extracted from the URI.