sanity-io / sanity-plugin-internationalized-array

A plugin to register array fields with a custom input component to store field values in multiple languages, queryable by using the language ID as an array `_key`.
MIT License
41 stars 10 forks source link

Set title for each language does not show in the interface buttons #73

Open toddpadwick opened 1 week ago

toddpadwick commented 1 week ago
languages: [
        {id: 'en', title: 'English (Default)'},
        {id: 'fr', title: 'French'},
        {id: 'de', title: 'German'},
        {id: 'it', title: 'Italian'},
      ],

Currently the buttons to create language items in an internationalized array UI show the ID, not the language title. Such as:

Screenshot 2024-07-08 at 09 54 51

What I'd expect is the language titles (friendly name) to show. such as: