We can use this code for multi language website. We can add multiple language from admin . We can define default language also from admin.