function that takes a translations object, a key delimited by '.' and a substitutions object for interpolation. Returns a match or the key.
1