Add supporto for mobile template and language fixes
Fix undefined variable error