Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于文件生成 #1

Open
beginnerV opened this issue Aug 5, 2020 · 1 comment
Open

关于文件生成 #1

beginnerV opened this issue Aug 5, 2020 · 1 comment

Comments

@beginnerV
Copy link

我按你的描述添加了flutter_localizations依赖,修改了对应的arb文件,但vscode上没有在I10n.dart文件自动生成对应test字段。是要在vscode中安装插件吗?

@beginnerV
Copy link
Author

我通过命令:flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/generated/intl --no-use-deferred-loading lib/dart lib/l10n/.arb
生成了messages_en.dart和messages_zh.dart文件,但是并没有在_notInlinedMessages方法中添加上所生成的多语言
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant