hard-coded-locale

Warning

Link {URL} contains locale code {code}. For localizability, remove {code} from links to Microsoft sites.

Locale codes, such as en-us, should not be included in links to certain Microsoft sites. If you include a locale code in a link in English content, it will also be included in localized links, which leads to a bad localized experience. For example, if a link in German localized content includes en-us, German customers will find themselves linking to the English article, even if a German version is available.

The following sites are in scope for this validation:

  • azure.microsoft.com
  • docs.microsoft.com
  • msdn.microsoft.com
  • technet.microsoft.com

Resolution

Remove locale codes from links to Microsoft sites. The following is an example.

Before:

https://docs.microsoft.com/en-us/vsts/load-test/app-service-web-app-performance-test

After:

https://docs.microsoft.com/vsts/load-test/app-service-web-app-performance-test

Need help?

If you need help with this problem, are not a Microsoft employee and can't access additional guidance, or have feedback on the message or documentation, use the documentation feedback button below to file a GitHub issue!