php - Homepage for multi-language website -


i'm working on multi language website project. have 2 languages in website (russian, english). english main language.

basically problem is: should make homepage www.example.com/en or www.example.com/? , maybe redirect sub directory main page? or main home page should have sub directory or should empty?

better way set default language on defult url .. if use framework laravel of som... language strings stored in files within app/lang directory. within directory there should subdirectory each language supported application.

app /lang     /en         homepage.php     /es         homepage.php 

read article hope u can basic idea process of thishttps://laravel.com/docs/4.2/localization