def METHOD_NAME(cls) -> None:
    """Refreshes the registry by adding new translatable object classes
    to the registry.
    """
    cls._translatable_objects_dict.clear()
    # Add new object instances to the registry.
    for name, clazz in inspect.getmembers(
            objects, predicate=inspect.isclass):
        if name.endswith('_test') or name.startswith('Base'):
            continue
        ancestor_names = [
            base_class.__name__ for base_class in inspect.getmro(clazz)]
        # Some classes, such as TranslatableHtmlContentId, are not
        # subclasses of BaseTranslatableObject, despite starting with the
        # string 'Translatable'. So we need to do verification based on the
        # class's ancestors.
        if 'BaseTranslatableObject' in ancestor_names:
            cls._translatable_objects_dict[clazz.__name__] = clazz