Fix Joomla multilingual install: sef and flags issues (done together with JM, Thanks JM)