[language] add string locations
Merge pull request #3438 from MartijnKaijser/string_locations

[language] add string locations