Improvement validation funcition plugin-translation

Improvement validation funcition plugin-translation