Localization and file upload bug fix