| 133 | } |
| 134 | |
| 135 | const char* Application::getCurrentLanguageCode() |
| 136 | { |
| 137 | static std::string code = "en"; |
| 138 | auto languages = Windows::System::UserProfile::GlobalizationPreferences::Languages(); |
| 139 | code = PlatformStringToString(languages.GetAt(0)); |
| 140 | return code.c_str(); |
| 141 | } |
| 142 | |
| 143 | LanguageType Application::getCurrentLanguage() |
| 144 | { |
nothing calls this directly
no test coverage detected