Skip to content

Add a multi lang configuration to your WEB APP 'from scratch' [ANY FRAMEWORK, ANY PLUGIN, ANY API]

License

Notifications You must be signed in to change notification settings

Sanix-Darker/Lang-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lang-app Translation "ONLY FROM SCRATCH"

A simple trick to configure multi-lang in your app witouth external apis

How it work?

Once the request to access a page is made, if the user didn't select any language, a default one is selected(french actually). Considering the user selected a language before, next requests will just reuse his choice which is even saved in the session.

All is contextual, meaning the visitor will remain on the same page.

What do you choose?

Author

LICENSE

MIT License