Bug fixes in DiffGenerator during internationalization.