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
- Find your desired flag from iconify. E.g. 'Bangladesh' searched in iconify then select icon provider
emojioneand then copy the country name part from the icon name. E.g.emojione:flag-for-bangladeshcopiedbangladesh.
Step-2: Add your desire language in app config
- Add your language code and flag name to the
available_localesarray inconfig/app.php. Eg.[.. , 'bn' => 'bangladesh', ..]
Step-3: Add your translation
- Create a new json file in
lang/with the name of your language code. Eg.lang/bn.json - Copy the content of
lang/en.jsonto your new json file. - Translate the content of your new json file.
WARNING
We used Google Translate so the translation may not be 100% accurate.