Skip to content

Laravel multiple language website with english and hindi. Basic category and sub category modules CRUD operations, By default english language will be consider and language switcher should be select option at top nav bar.

Notifications You must be signed in to change notification settings

tejassoni/laravel-multi-lang

Repository files navigation

Overview

Laravel multiple language website with english and hindi. Basic category and sub category modules CRUD operations, By default english language will be consider and language switcher should be select option at top nav bar.

Server Requirements

Project Requirement

  • Implement Multiple Language English and Hindi Language into Laravel Project
  • Set Default language English if not selected by user
  • Category Module CRUD
  • Category Fields
  • Category Name : [ Validation Rules : Accept only strings and space, Required ]
  • Category Description :
  • Status : Active / In-Active
  • On Category Listing status can be changed using ajax
  • Sub Category Module CRUD
  • Sub Category Fields
  • Sub Category Name : [ Validation Rules : Accept only strings and space, Required ]
  • Sub Category Description :
  • Select Parent Category :
  • Status : Active / In-Active
  • On Category Listing status can be changed using ajax

Laravel / PHP Coding Standards

  1. Use Laravel's migration scripts for database schema and tables related to further all operations
  2. Use Laravel's factory and seeders for sample dummy data creations where required
  3. Use Laravel's validation using Request classes where required
  4. Use Laravel's Eloquent and Relationships in models where required
  5. Use camel case for function name and variable name. E.g getProductDetails() , $categoryDetails
  6. Comment on the above function with short details of that function use or purpose of function creation.
  7. Reuse the common codes using some helper class functions etc
  8. Remove unnecessary code and debug points that are not needed
  9. Avoid unnecessary loops if not required
  10. Avoid unnecessary variable creations
  11. Use PHP design patterns where required Design Patterns
  12. Normalize database tables where required Database Normalization
  13. Optimize database tables
  14. Avoid MySQL joins queries if not required
  15. Avoid MySQL sub queries if it does not require
  16. For more information, please read the document Code Standard

References

  1. https://magecomp.com/blog/laravel-authentication-with-breeze/
  2. https://www.itsolutionstuff.com/post/how-to-create-multilingual-website-in-laravelexample.html
  3. https://www.youtube.com/watch?v=9Rocw50kpSY
  4. https://laravel.com/docs/10.x/localization#publishing-the-language-files
    1. Search Key

      1. KEY : MULTILANG

About

Laravel multiple language website with english and hindi. Basic category and sub category modules CRUD operations, By default english language will be consider and language switcher should be select option at top nav bar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages