首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么将xliff:g标记添加到<item><xliff:g id="id">ime</xliff:g></item>?

为什么将xliff:g标记添加到<item><xliff:g id="id">ime</xliff:g></item>?
EN

Stack Overflow用户
提问于 2011-10-11 09:56:54
回答 1查看 1.2K关注 0票数 1

我正在研究状态栏,我在config.xml中找到了这些代码:

代码语言:javascript
复制
<!-- Do not translate. Defines the slots for the right-hand side icons.  That is to say, the
         icons in the status bar that are not notifications. -->
    <string-array name="config_statusBarIcons">
       <item><xliff:g id="id">ime</xliff:g></item>
       <item><xliff:g id="id">sync_failing</xliff:g></item>
      ......

    </string-array>

为什么要给它们添加xliff:g标记呢?我知道xliff是"XML本地化交换文件格式“.But在我看来没有什么可格式化的。

EN

回答 1

Stack Overflow用户

发布于 2011-10-11 13:37:03

总是使用xliff可能是一种惯例,即使它不是必需的-只是为了保持干净。如果与本地化程序无关,则不需要xliff。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7720641

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档