My questions

May 12, 2012 at 2:00 AM
Edited May 12, 2012 at 2:05 AM

Hi,

I am going to have a lot of questions and so I am and am going to list all them in this topic. 

I am playing this application but I did not find an option for changing language. 

How to change language in this application?

Hailei

Coordinator
Jun 9, 2012 at 4:16 PM
Edited Jun 9, 2012 at 4:17 PM

I'm very sorry for my late response (I did n't know that notification alert of this project was turned off).

Regarding language selection, this software check OS (Windows)'s language setting.
Therefore if you change the language setting of Windows to English, the application display English words.

If you want to test the specific language but don't want to change OS's language setting, you need to modify

the source code. Please check GameOfLife3D.cpp:

http://gameoflife3d.codeplex.com/SourceControl/changeset/view/41bdec84d488#GameOfLife3D%2fGameOfLife3D.cpp 

In the middle of the source, there are the following lines:

//    ULONG numLangs;
//    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"en-US", &numLangs);
//    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"de-DE", &numLangs);
//    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"nl-NL", &numLangs);

If you change them to:

    ULONG numLangs;
    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"en-US", &numLangs);
//    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"de-DE", &numLangs);
//    SetProcessPreferredUILanguages(MUI_LANGUAGE_NAME, L"nl-NL", &numLangs);

the application always displays English.

Best regards,

Yohei