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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -