fix(locale): trigger setLocale in locale module

This commit is contained in:
Linden
2024-04-02 17:00:59 +11:00
parent 2d4e56d828
commit 44b41973b8
3 changed files with 3 additions and 3 deletions

View File

@@ -30,4 +30,6 @@ RegisterNUICallback('init', function(_, cb)
})
end)
if not settings.locale then lib.setLocale(GetConvar('ox:locale', 'en')) end
lib.locale(settings.locale)