flutter_distributor icon indicating copy to clipboard operation
flutter_distributor copied to clipboard

需要支持国际化

Open Matkurban opened this issue 9 months ago • 2 comments

我在项目上使用了l10n方式的多语言切换,我在pub get 以后需要运行flutter gen-l10n项目才能正常运行,但这个工具因为在clean,pub get 以后未运行flutter gen-l10n而打包失败。

Matkurban avatar Apr 10 '25 07:04 Matkurban

工具生成的 i18n 代码被 ignore 了吗?建议是保存在 git 里,没必要每次都重新生成

lijy91 avatar Apr 10 '25 12:04 lijy91

https://fastforge.dev/zh/cli#package 有个参数是--skip-clean,可以跳过清理

xuxiaocheng0201 avatar Jun 30 '25 02:06 xuxiaocheng0201