MassMessage has been improved so that it is now possible to have a section on the text to be used as a message title (T164503).
At the moment, during the distribution, we select a section named like technews-2022-W10 to get the text on MassMessage. The title remains in English.
The idea would be to have a new section for the title. The module that preloads Tech News contents would have <section begin="technews-2022-W10-title"/> and <section end="technews-2022-W10-title"/> to be added to the preload, so that we can use technews-2022-W10-title as the message title for week 10 of 2022.
Maybe consider to change the section name for the text to <section begin="technews-2022-W10-text"/> and <section end="technews-2022-W10-text"/> -- but the best option is to keep this section as it is now, only work on the title.
Ideally, the title would rely on variables for week and year. This way, most translators would not have to change it, or only a few times a year. Examples:
- English: Tech News: $year-$week
- French: Actualités techniques : semaine $week de $year