summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_langpack.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_langpack.h b/include/m_langpack.h
index 10ad9bd182..b70deb9c2c 100644
--- a/include/m_langpack.h
+++ b/include/m_langpack.h
@@ -88,6 +88,12 @@ EXTERN_C MIR_CORE_DLL(int) Langpack_GetDefaultCodePage(void);
EXTERN_C MIR_CORE_DLL(int) Langpack_GetDefaultLocale(void);
/////////////////////////////////////////////////////////////////////////////////////////
+// returns 2-byte locale name associated with the language pack
+// if locale is not set, returns "en"
+
+MIR_CORE_DLL(char *) Langpack_GetDefaultLocaleName();
+
+/////////////////////////////////////////////////////////////////////////////////////////
// reloads langpack
// wParam = 0 (ignored)
// lParam = (LPARAM)(wchar_t*)langpack file name or NULL to reload the current one