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

Replace all user-facing strings with references to lang files #7

Open
RogerDodger opened this issue Nov 7, 2016 · 0 comments
Open

Comments

@RogerDodger
Copy link
Owner

For example, instead of:

$c->detach('/forbidden', [ "You are not the admin" ]);

Use:

$c->detach('/forbidden', [ $c->string('notAdmin') ]);

Then, in lang/en/strings.yml:

notAdmin: You are not the admin

Once this is comprehensively done throughout the code, it will be possible to add support for other languages.

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

1 participant