Flutte-- 国际化l10n笔记

多语言插件l10n

flutter_intl:

  enabled: true

  main_locale: "ko"

main_locale 假如想复写引用的库中的某种多语言文件,这时候需要将该属性设置为你的目标类型,默认为英文,若果不同时设置英文,其他语言的文件也不会生效。

猜你喜欢

转载自blog.csdn.net/weixin_41735943/article/details/121010923