From your screenshot I see that the message key is red, i.e. messageBundle can’t access it. Please check that messagesPack is defined correctly and messageBundle.getMessage(...) returns a value.
Is the VisitPlan.day attribute is an ENUM, the same as in the mentioned Sampler demo? In your message.properties I don’t see any localization values for Day, so I can’t say if your sorter function is correct.
Hi Gleb
Day is not ENUM, rather generated from the date field when I saved the new record. Do I need to have ENUM even I am not using programmatically?
The sorter function must operate with actual values, e.g. in this demo you can see that messages.properties and messages_ru.properties have different values in the sorter function. Since you generate your days, then you need to generate a sorter function with proper values.