Make the snippet work with german locale

Same as in Gmarker