我很想知道以下标记中的字母 g 代表什么:
<string name="countdown">
<xliff:g id="time" example="5 days>%1$s</xliff:g>until holiday
</string>
我从 https://developer.android.com/distribute/tools/localization-checklist.html#manage-strings 复制了这个标签
我尝试用谷歌搜索,但找不到任何答案。 谢谢。
最佳答案
g 代表通用组占位符。
必需的 id
属性用于引用文件中的替换代码。
您可以在提供的规范中阅读更多相关信息 here
关于android - xliff :g stand for中的字母g是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42017083/