New getLang() implementation
New getLang() implementation

This ports the implementation from multilingual_image_upload.

Fixes issue with defaults to main lang

DeuxHuitHuit/multilingual_upload_field,DeuxHuitHuit/multilingual_upload_field