Did you try?
{{ Lang::choice("There is one apple|There are many apples", 7) }}
Did you try values other then 7? Did you try 1 instead of 7?
Yes..
I tried ... and yet
{{ Lang::choice("There is one apple|There are many apples", 7) }}
// Output There is one apple
I use 'Laravel Framework version 4.2.6'
= (
Same problem here!! :(
Work around:
{{ Lang::choice("{1}There is one apple|[2,Inf]There are many apples", 7) }}
It's not elegant... :( But it works!
Same here. Did you guys found a solution in addition to the work around nic provide ? :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community