It seems that what you specifically want is to support the character set of both languages.
You can support all supported Unicode characters by specifying the character encoding UTF-8
in the locale.
#pragma setlocale("any_language.UTF-8")
Microsoft covers some details of using a multibyte character set here.