Make the snippet work with german locale

Same as in Gmarker
Merge pull request #15 from Jako/patch-2

Make the snippet work with german locale