summaryrefslogtreecommitdiffhomepage
path: root/SDK/Libraries/CoreSystem/Headers/Intl.h
diff options
context:
space:
mode:
Diffstat (limited to 'SDK/Libraries/CoreSystem/Headers/Intl.h')
-rw-r--r--SDK/Libraries/CoreSystem/Headers/Intl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/SDK/Libraries/CoreSystem/Headers/Intl.h b/SDK/Libraries/CoreSystem/Headers/Intl.h
new file mode 100644
index 00000000..b868adca
--- /dev/null
+++ b/SDK/Libraries/CoreSystem/Headers/Intl.h
@@ -0,0 +1,29 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+------------------------------------------- */
+
+#pragma once
+
+/// @brief Intlization primitives.
+
+#include <Headers/Defines.h>
+
+typedef UInt64Type IntlRef;
+
+/// @brief Get app locale.
+/// @param name locale name.
+/// @return
+IntlRef IntlGetLocale(const char* name);
+
+/// @brief Set app locale.
+/// @param intl the locale
+/// @return
+BooleanType IntlSetLocale(const IntlRef intl);
+
+/// @brief locale helpers.
+
+/// @brief translate a string from a locale.
+const CharacterTypeUTF8* Intl(const CharacterTypeUTF8* input,
+ const IntlRef locale);