3

As far as I know you can set your language with:

#pragma setlocale("language")

However you can only set it to one language. Anyone knows how to enable two languages in the same form in C++? Lithuanian and Russian in this case.

R. Martinho Fernandes
  • 228,013
  • 71
  • 433
  • 510
Matt
  • 33
  • 5

1 Answers1

1

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.

Drew Dormann
  • 59,987
  • 13
  • 123
  • 180