Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use trans() function with Forms? #84

Closed
intrepido opened this issue Sep 10, 2015 · 3 comments
Closed

How to use trans() function with Forms? #84

intrepido opened this issue Sep 10, 2015 · 3 comments

Comments

@intrepido
Copy link

How to use trans() function with Forms?

@intrepido intrepido changed the title How to use transfer() function with Forms? How to use trans() function with Forms? Sep 10, 2015
@adamgoose
Copy link
Member

Not sure which function you're referring to. Using PHPStorm, I can't find a transfer() symbol in Laravel at all.

@RobinMalfait
Copy link
Contributor

@adamgoose he means trans() for translating stuff

@joaoffm
Copy link

joaoffm commented Nov 10, 2015

To use the translations from lang/*/validation.php

   'attributes' => array(
        'email'             => 'E-mail',
    ),
Form::label('email', trans('validation.attributes.email'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants