Return translated fields for the Homepage Shelves (original) (raw)

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:

  1. 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.
  2. Return title and footer_text in the API response as translated fields, as opposed to simple strings.