Skip to content

Provide an endpoint to serve a list of available languages #51

@docwilmot

Description

@docwilmot

Working on backdrop/backdrop#4834 to allow sites to download language files automatically during installing Backdrop, it would be great for those sites to query localize.backdropcms.org to get a list of all available translations, so we could build a select list for the user to choose from.

We've noted that there doesn't seem to exist any method to determine this remotely. It would be great if we could provide an endpoint with just that.

For now we would either have to list every available language during installs, and throw an error if the user chooses a language that isn't yet translated (poor UX), or, as the latest PR chose to do, manually list the available translations (27 of them as of today) and plan to update the list with every Backdrop release (poor DX).

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