Add API for setting/getting current locale

This API is used to set the current locale for libobs, which it will set
for all modules when a module is loaded or specifically when the locale
is manually changed.
This commit is contained in:
jp9000
2014-06-25 00:21:16 -07:00
parent 9f652e6416
commit 899f053034
6 changed files with 42 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ using SceneContext = OBSUniqueHandle<obs_scene,
static void CreateOBS(NSView *view)
{
if (!obs_startup())
if (!obs_startup("en"))
throw "Couldn't create OBS";
struct obs_video_info ovi;