combining the snippets for multiple languages