Fix issue when the $from language is incorrectly found and replaced in the full path, e.g. for "en" to "sp", "en" is found in "../Development/.." and changed to "../Developmspt/.."

Signed-off-by: Jonathan Rehm <jkrehm@gmail.com>