We are storing a title and footer_text for shelves defined in the admin, which are returned via the shelves endpoint. When this data is displayed on the front-end, it should be possible to display it in the user's current language. I believe two things are needed:
- Extract the data for
title and footer_text in order to make it localizable in a similar way that is being done for discovery items.
- Return
title and footer_text in the API response as translated fields, as opposed to simple strings.
We are storing a
titleandfooter_textfor shelves defined in the admin, which are returned via theshelvesendpoint. When this data is displayed on the front-end, it should be possible to display it in the user's current language. I believe two things are needed:titleandfooter_textin order to make it localizable in a similar way that is being done for discovery items.titleandfooter_textin the API response as translated fields, as opposed to simple strings.