The language-specific identifying key for your document type can be configured in SAP.
The menu path is : IMG ➢ Sales And Distribution ➢ Sales ➢ Sales Documents ➢ Sales Document Header ➢ Convert Language For Each Sales Document Type.
The customizing screen is shown with an example in Figure 1.
Figure 1 Converting the language for each sales document type