خرید بک لینک

Vote count: 0

I try to print the current language in my .scala.html view

@Lang.code()

and the result is

Compilation error
value code is not a member of object play.i18n.Lang 

Why is that? API doc 2.2 for play.i18n.Lang says

public java.lang.String code() 
The Lang code (such as fr or en-US).

How can I get the current language?

asked 32 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 23 فروردين 1395 ساعت: 19:31

صفحه بندی