Microsoft MakeCode

Custom block inline translation for Langs with variants

Hi! Playing around with the translations via inline-comments for custom blocks. I can get these to work no problem for French and other languages like so:

//%block.loc.fr=“French translation”

But I seem to be getting the syntax for Spanish and Portuguese wrong (I guess it’s due to the hyphen).

//%block.loc.es-ES=“Spanish translation”

Any help with the correct syntax for these languages is greatly appreciated.

Thanks in advance!