For international release addons, keep in mind that "." is for US while in EU it's "," so US code where the char is hard-coded would only work properly on US locale. It's not about the game locale too, I think it's the computer region that decides, take a look at:
SetEuropeanNumbers - not sure if there is a "get" version to figure out what the client is running.