Android Studio中,查找所有需要国际化的字符串

在Menu的“Analyze”中,选择“Run Inspection By Name”,然后输入“Hardcoded strings”,执行后,可以找到所有没有加入strings.xml的字符串。

按Alt + Enter,可以把它加入到resource文件中

posted on 2020-04-26 16:12  barani  阅读(478)  评论(0编辑  收藏  举报

导航