Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Don’t register a translation provider when no models are available #36

@SystemKeeper

Description

@SystemKeeper

The translate app always registers as a translation provider, even if no models are available. This results in $this->translationManager->hasProviders() returning true, even when no provider can actually be used.
This check is used in talk since version 18 (see nextcloud/spreed#10317) and would now need a second check for the available languages to correctly show/hide the translate options on the clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions