Language

Language Translation

Here, we are going to ad a new language named ‘Bangla (bn)’

Step-01: Copy existing language directory

  • Open backend/language

  • Make a copy of the folder and rename it to [bn]

  • Then in [bn] you’ll find a file en-gb.php & en-gb.png; rename it to [bn].php & replace en-gb.png to bn.png

  • You need to translate all files in sub-folders (common, setting…user) and file [bn].php

Step-02: Add a new language from Backend

  • Go to Backend > System > Localisation > Languages

  • Press Plus (+) button at the top, a form will be open

  • Fill up the form as follows;

    Language Name = Bangla Code = Select ‘bn’ fron dropdown Locale = bn

Translation types

  1. File Translation

  2. Database Translation

    Translation form:

    route = page route / lang code key = translation key value = translation value

*** File translations can be overwritten by database translations