Web.config has a configuration parameter for <linkManager>where you can configure the parameter languageEmbedding:
<linkManager defaultProvider="sitecore">
<providers>
<clear/>
<add name="sitecore" ... languageEmbedding="asNeeded" ... />
</providers>
</linkManager>
Parameters languageEmbedding:
Changing the configuration for use languageEmbedding="never"will result in the language not appearing in the URL, and also languageEmbedding="always"causing the language to always appear in the URL.
source
share