Changed 'parseUrl' function to allow replacement of multiple occurences of '{part}' and '{lang}' in 'urlTemplate'.