Fix some bugs with localization and displaying the language list