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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user