Feature/text entry lang

@swarajban, @jagill, check it out when you have a chance
In this case, we know it's a string (looking at getEffectiveLang). IMO, it's  better to be more explicit when possible