Skip to main content

🌍 Change App Language

🔄 Steps to Change Language

  1. By default, the application language is English. If you want to change the default language, go to lib/utils/appLanguages.dart and add your respective language's code shown in below image. Get your language code from here: https://developers.google.com/admin-sdk/directory/v1/languages.

    e-School SaaS

  2. If your default language code is not in app language list, add language details in list as shown in below image. Go to lib/utils/appLanguages.dart:

    e-School SaaS

  3. If your default language is not in assets/languages/[language-code].json then create new file in same folder with [language-code].json. Add all the labels from en.json and convert label values in your respective language:

    e-School SaaS

  4. Copy all the labels from en.json file in your [language-code].json file:

    e-School SaaS

  5. If you want to add new language then follow the steps 2, 3 and 4.