Thread:Extension talk:GuidedTour/Navigate to the next step using a custom function and i18n

something like  would be helpful. And i18n for multilingual wikis like Commons is essential. This should be possible without having to copy&paste the whole logic or using crappy approaches like I did at commons:MediaWiki:Guidedtour-tour-nominatefordeletion.js