change formatLanguageResource to getLanguageResource and move it off String and onto chat.utility.