@Nikerabbit, a while back, I had an issue working on a gadget that had to get messages from a translatable page. Something was failing (I can't remember) and you proposed to me a quick hack to fix it, see code below:
userLang = mw.config.get( 'wgUserLanguage' ); if ( userLang === 'en' ) { userLang = 'en-foo'; // quick hack fix }
Today, that hack was the end of me, if not for @Krinkle (Thank you Timo) that saved the day, my mind would have been somewhere else, literally.
Is this hack still needed or has it been removed completely. I'll like to understand the state of things so if someone else is doing this, they can fix it too.
Also, I just tagged Translate extension, not sure which other projects to tag. Thanks!