StudyBuddy

How to change Language?

Landing Page Language To change landing page language login in the super admin portal then navigate to Settings on the left sidebar and select your language. The selected language will then be set for the landing page.

Backend Language To change language navigate to Profile by clicking on the name initial icon on the top right corner and select your language. The selected language will be set for the user workspace.

Available Language Currently, the software is translated into French, Italian, Portuguese(Br)

Language Files Language files are located in app/resources/lang Editing / Improving Language File If you want to improve language files, find your language file in app/resources/lang folder & edit this file using any text editor. For example, to edit the French file, edit fr.json file.

Add New Language File Following is a dummy example of adding French. Step 1. Go to app/models/user.php and Include your language like this ‘fr’ => ‘French’, in the public static $available_languages = [ ‘en’ => ‘English’, ‘it’ => ‘Italian’ ‘fr’ => ‘French’, ];

Step 2. Create the language file manually by copying all the strings from en.json file or run the command

php artisan translatable:export en en should be replaced by the name you used in the user.php file

Step 3. Translate the file.

Now done, just navigate to the profile section, and you should see your newly translated language.

Need help to you add your language? chat with us.