add escaping of dots in translation_pattern