Skip to content
On this page

Language

Dashcode comes with multilingual support. It is super easy to add new language. Here we will show how can you add a new language.

Step-1: Select your flag

  1. Find your desired flag from iconify. E.g. 'Bangladesh' searched in iconify then select icon provider emojione and then copy the country name part from the icon name. E.g. emojione:flag-for-bangladesh copied bangladesh.

Step-2: Add your desire language in app config

  1. Add your language code and flag name to the available_locales array in config/app.php. Eg. [.. , 'bn' => 'bangladesh', ..]

Step-3: Add your translation

  1. Create a new json file in lang/ with the name of your language code. Eg. lang/bn.json
  2. Copy the content of lang/en.json to your new json file.
  3. Translate the content of your new json file.

WARNING

We used Google Translate so the translation may not be 100% accurate.

COPYRIGHT © 2022 Codeshaper, All rights reserved.