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 resources/lang/{language_iso_code}/
  • 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: thewebfosters@gmail.com

Language ISO code Wiki

Adding new language

  1. Create a new directory for the language inside “/resources/lang/”. Name of directory should follow language_iso_code
  2. Copy the files from /resources/lang/en/ to the directory you created.
  3. Open the individual files, translate and save it.
  4. 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.
  5. Open config/constants.php and add the new language in the “langs” array.
  6. 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: thewebfosters@gmail.com . Thank you in advance.
Categories: