by gedy · 7y ago · 0 comments
It turns out that according to the locale Sheets will change the separator for params, so in en-US it'll be:
=sumif(A1:A10, "Something", B1:B10)
while in cs-CZ it should be =sumif(A1:A10; "Something"; B1:B10)
On the one hand, that's really quite cool and impressive. On the other, I would never have expected a language or development environment to support different syntax depending on the locale in use.And a similar feature made CSV even worse.
You can't "localize" programming languages in that way. A new programming language, probably similar in semantics but with a completely rethought syntax, is needed for the true localization.
[1] https://simblob.blogspot.com/2019/10/verb-noun-vs-noun-verb....
But there are already (joke) projects that do this:
Most things aren't this black or white, but this is one of them. Whatever the keywords for a language are, they must be exactly the same everywhere.