resourcebundle
How do I have to format a choice in ResourceBundle?
How do I have to format an entry in a ResourceBundle to get values less than 0, 0 and greater than 0? I tried it this way: my.key = Data for ''{1}'' {0,choice,0>{0,number,integer} could not be modified|0#successfully modified|0<{0,number,integer could not be modified}! But I always get an java.lang.Illegal ArgumentException. I use MessageFormat this way: int status = init with for instance -1 / 0 / 1... mf.format(new Object[]{status, name});