How do I have to format a choice in ResourceBundle? -
how have format entry in resourcebundle values less 0, 0 , greater 0? tried way:
my.key = data ''{1}'' {0,choice,0>{0,number,integer} not modified|0#successfully modified|0<{0,number,integer not modified}!
but java.lang.illegal argumentexception.
i use messageformat way:
int status = init instance -1 / 0 / 1... mf.format(new object[]{status, name});
Comments
Post a Comment