MEDIUM / Moved localization and fixed compile errors