added hasResourceBundle(lng, ns) to check for bundles