Skip to content

Support for nested messages

Compare
Choose a tag to compare
@rmariuzzo rmariuzzo released this 15 May 00:30
· 229 commits to master since this release

This release provides support for nested messages.

Now you can:

Lang.get('messages.family.children.son');

That will return the proper messages that was stored in lang/en/messages.php with the following content:

return array(
    "family" => array(
        "children" => array(
            "son" => "I am the son",
        )
    )
)

Happy coding!