ox_lib
ox_lib copied to clipboard
[Bug] Js package initializing locales automaticaly
When using the js package, locale function is automaticaly initialized with initLocale(), fetching for the resource's locales/ folder.
https://github.com/overextended/ox_lib/blob/5ac07d8b887aa2f1e68e5e3bec6497345aff7bbe/package/shared/resource/locale/index.ts#L90
This is not optimal since we may not wish to use the lib's locales functionality. The main issue is, it attempts to find a locale that might not be present, producing a console warning.
This is a very low priority issue but I have received quite a few reports since it sometimes leads users to believe something might be broken.