Moved some functions from OSjs.Locale to OSjs.API