Task title with an array of translations

In tasks.js | Community Health Toolkit we define the task title as an array
title: [ { locale:‘en’, content:‘Postnatal visit needed’ } ],
but when i try and compile app settings with cht-conf i get an error that the title must be a string, is this a deprecated way of doing this or should we add support for this in cht-conf?

Hi @Fred

Yes that’s the old way of doing it. On that page you linked there is documentation about the title property indicating it must be a “translation_key” so it can be translated like other keys in the app.

That example code is out of date and I’ll make sure it’s updated soon!