Snippets with Localisation

Hi all,

When creating snippets, how do I make it so that it can also support different localisation, like it would follow UX’s user preference?

Regards

Tat