template system for different languages