I've added:
auta
autb
auts
chea
cheh
deua
deub
eure
ltua
ltuk
I still have problems with autb, chea and cheh. The prefix is not removed but I don't understand why.
@Jim: I've added the relevant code to shieldgen.php with my latest pull request. Have you really updated the file?
I've removed some *_wide.svg file, e.g.
eure_wide because I thought they are no longer necessary (identical with the normal svg file). However, they are still online.
@ALL: It explains why it looked like everything is fine with deua and eure but it should be like it's for chea, cheh or autb. If there're more than 2 digits, the default shield should be used.
I don't know why the normal svg files, e.g. "template_chea.svg", are not loaded. Shieldgen.php looks fine. Is only code from shieldgen.php relevant for selecting the svg files?
@ALL: Could there be any problem if the svg uses "mm" instead of px?
https://upload.wikimedia.org/wikipedia/commons/b/b0/Autocesta_A1.svg"mm" is not yet used in our svg files. I've tried to replace mm by px but it doesn't work (much smaller and text doesn't match). Any idea?