[[Pywikibot:Cosmetic changes-append/en]]

The "cosmetic_changes-append" message was replaced with "pywikibot-cosmetic-changes" message in Pywikibot 7 and was removed in Pywikibot 8, see https://doc.wikimedia.org/pywikibot/stable/changelog.html#will-be-removed-in-pywikibot-8. This problem may happen if you have updated the i18n files but your Pywikibot release is older than 7.0.0. I propose to update the Pywikibot to the current stable version (7.7.2).

Xqt (talk)13:40, 7 January 2023

My previous answer is wrong. The translation of Pywikibot 7+ does not work as expected. The i18n.twtranslate() function raises that exception even a fallback is given; this is not intentional and is a real bug. I'll fix it soon. See phab:T326470.

Xqt (talk)13:58, 7 January 2023

Thanks!

Amir E. Aharoni (talk)14:28, 7 January 2023