Fixed a bug with auto-detection
Replaced intval() with (int)
Added Setting Language Support