The screenshot you shared displays a TypeScript type declaration for the String.prototype.split()
method, along with its documentation comment sourced from a lib.d.ts file distributed with TypeScript. The original source code for these lib.d.ts files can be accessed on the TypeScript GitHub repository at this link: https://github.com/microsoft/TypeScript/tree/main/lib.
While TypeScript does offer translations for compiler error messages, it's not common for web libraries to provide versions of their lib.d.ts files with translated documentation comments, as English tends to be widely accepted as the standard language in the open-source community.
In my experience with web development, I haven't come across many instances where developers make an effort to translate documentation comments into multiple languages within their package files. Therefore, adjusting your display language setting may not have an impact on this aspect.
This trend of using English as the primary language for code-related documentation extends beyond just web libraries and is prevalent in various programming communities. Most hover documentation and header files typically contain English documentation comments, as observed in the majority of programming languages and libraries.
If you know of any exceptions to this practice, please feel free to share them as I'm always interested in learning about different approaches in the programming world!