在所有语言的Andr​​oid删除字符串 [英] Remove a string in all the languages Android

查看:144
本文介绍了在所有语言的Andr​​oid删除字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个翻译的应用程序,我想删除一些字符串。

我怎么能重构以及默认的strings.xml文件中删除他们只有一次,例如
并自动传播删除其他翻译的其他的strings.xml文件?
谢谢


解决方案

  

默认的s​​trings.xml文件,并自动删除传播到其他翻译的其他strings.xml档案


ADT不支持此操作。你需要摆脱所有文字X​​ML文件自己,这不应该是硬任务反正,因为这将是足以完成项目的全局搜索(在Eclipse <大骨节病> CTRL-H ),设置文件面膜为 *。xml的并搜索字符串键。然后,只需删除找到的每个文件这个文件。

I have an app with several translations, and I want to delete some strings.

How can I refactor and delete them only once for example in the default strings.xml file and automatically propagate the deletion to the other strings.xml file of other translations? Thanks

解决方案

default strings.xml file and automatically propagate the deletion to the other strings.xml file of other translations

ADT does not support this operation. You need to get rid of the text from all your XML files yourself, which should not be hard task anyway, as it would be sufficient to do project global search (in Eclipse CTRL-H), set file mask to *.xml and search for your string key. Then just remove this file from each file found.

这篇关于在所有语言的Andr​​oid删除字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆