question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Framework Request] Laravel

See original GitHub issue

What framework do you want to have? Please provide links of its i18n solution/package. The Laravel Framework.
Here are the docs for the i18n solution.

Please provide some overall screenshots about how the i18n usage would be like I assume it would work just like Vue ally. The way it works is a bit similar.

Laravel uses __() and trans(). There is also trans_choice for multiple options.

There is also @lang() which is used in blade templates, which is a DSL (pretty much like vue templates).

Please provide a minimal starter project Well, laravel/laravel has a starter project that everyone uses. You could go from there.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:28 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Feb 14, 2020

Hey! Sorry for not following this thread much.

I tested the extension in our project and it works fine! Thank you.

Now I have to convince the back-end guys in my team to use VSCode instead of Sublime and Atom lol.

I see that editting is not working yet, I believe this is due to the files being PHP and not JSON as the app is built for, but that’s not a issue. Being able to see the translation is already a big step.

1reaction
tyler36commented, Feb 12, 2020

Perfect 🎉

Once I ignored the vendor folder, the Translation progress shows inconsistent stats for languages issue disappeared too since the “programming languages” were no longer being scanned, the GO, HY “translations” were no longer missing.

Thanks again for follow-through and work. Not sure how @phiter-monetizze feels, but I’d say you can close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP Requests - The PHP Framework For Web Artisans
Laravel's Illuminate\Http\Request class provides an object-oriented way to interact with the current HTTP request being handled by your application as well ...
Read more >
HTTP Requests - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. ... The Request facade will grant you access to the current request...
Read more >
HTTP Requests - The PHP Framework For Web Artisans
Laravel allows you to keep input from one request during the next request. This feature is particularly useful for re-populating forms after detecting ......
Read more >
Requests & Input - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We've already laid the foundation — freeing you to create without sweating...
Read more >
Request Lifecycle - The PHP Framework For Web Artisans
Lifecycle Overview. First Steps. The entry point for all requests to a Laravel application is the public/index.php file. All requests ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found