c++ - How to change language of the build in VS2008? -


this question has answer here:

i have mfc application use russian language, want translate interface , make build english version of windows.

what usual way change language in vs2008 build?

i found code in *.rc file

// russian resources  #if !defined(afx_resource_dll) || defined(afx_targ_rus) #ifdef _win32 language lang_russian, sublang_default #pragma code_page(1251) #endif //_win32 

and

#define text_locale_id          (makelcid( makelangid(lang_russian, sublang_default), sort_default )) 

in *.h file store strings in format such as

#define some_str_rus  _t("Строка на русском") 

try converting every "russian" term english term. such :

1)defined(afx_targ_eng) 2)language lang_english, sublang_default 3) (makelcid(makelangid(lang_english, subland_english),sort_default))

this worked me. changing russian terms universal english terms, you'd setting default language , acting language choice.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -