function JsonToLocalizationTable.localeFromName(m)if m:sub(-5)=="\046\106\115\111\110"then return m:sub(1,#m-5)else return m end end
--[=[
	Extracts the locale from the name

	@param name string -- The name to parse
	@return string -- The locale
]=]
function JsonToLocalizationTable.localeFromName(name)
	if name:sub(-5) == ".json" then
		return name:sub(1, #name - 5)
	else
		return name
	end
end
