PhiloNL/laravel-translate

[Proposal] Multidimensional lang array support

Closed this issue · 3 comments

Example from validation language file.

"between"          => array(
        "numeric" => "The :attribute must be between :min and :max.",
        "file"    => "The :attribute must be between :min and :max kilobytes.",
        "string"  => "The :attribute must be between :min and :max characters.",
        "array"   => "The :attribute must have between :min and :max items.",
    ),

Just made pull request, hope it gets accepted :)

Great! I will try it out.

Pull request has been merged. Feature has been added.