Looks like most of this is in the core now. Just edit this line in config.php
Code:
[clean_urls]
; Is use urls like domain.com/LG for languages
; possible values "Y", "N"
; Changing this setting requires to re-deploy your store
use_language_url = "Y"