playframework - Play 2 framework Internationalization not working in if statement -


i working play 2.3.8.

in views, of internationalized messages not displayed.

i suspect bug in play? code @play.i18n.messages.get("calendar.level.0.criterias.title") works outside of if statement, not inside. happening? can not use scala variables within scala code?

here code:

@if (user == null) {   <p style="padding-bottom: 0px;">@play.i18n.messages.get("calendar.level.0.criterias.title")</p> } 


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -