In utils.c, function colortoint, we compare col against a localized string (color name).
The problem is strcmp doesn't work well with localisation. I saw a german translation is planned, it's a good example of problem that can happen.
White in german is Wei
Updated by Robin Hahling over 7 years ago
I have yet to decide on this one.
dfc can also be compiled with "NLS_ENABLED=false". In this case, keeping
strcmp would probably be a better idea.
Maybe the solution would be not to translate the color values in the configuration file. I was wondering what the best solution would be about this because let's say "red" is not translated the same way in the *.pot file and the configuration file (a typo or anything else), then it will not be taken into account and will display a warning message.
What is your opinion on this?