long1eu / flutter_i18n

This plugin create a binding between your translations from .arb files and your Flutter app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run plugin from terminal?

PandaGeek1024 opened this issue · comments

commented

Hi, this is indeed a great plugin. But is there a way to run this from the terminal?

We have this requirement to generate different localization for different product flavors during runtime in the CI. Basically we will provide different arb files and expect the corresponding i18n.dart to be generated. But opening android studio during the build process doesn't seem feasible in this case. Is there an intl_translation-ish pub library that we can execute from the terminal? Thanks