Changing your Language Preference
To change your display language go to “Profile -> My Profile -> Language”
Select the language you want to use and save it. This will change all texts to your preferred language.
Editing existing translations
Sometimes the translations can be improved to make it better understandable.
- To edit existing language translations – go to
- Here you will find files almost grouped based on the pages. Edit the string you want to change and save it.
- If you make improvements to the language file, please do share it with us. We will update it the codebase so that it is useful to others too. Email: firstname.lastname@example.org
Adding new language
- Create a new directory for the language inside “/resources/lang/”. Name of directory should follow language_iso_code
- Copy the files from
/resources/lang/en/to the directory you created.
- Open the individual files, translate and save it.
- Go to
public/js/lang. Create a new file with name “<language_iso_code>.js”, copy all content from en.js and add corresponding translations.
config/constants.phpand add the new language in the “langs” array.
- If you add any new languages, please do share the files with us. We will include it in our updates. We will acknowledge you for adding any new language. Email us at: email@example.com . Thank you in advance.