支持文件类型 (Strings)

.XML - Episerver (Strings)

文本由 Phrase Language AI 从英语机器翻译而得。

文件扩展名

.xml

API 扩展

episerver

导入

导出

复数形式支持

描述支持

Episerver 是一家内容管理服务服务商商。Episerver XML 是它的标准本地化文件格式,用于加载翻译/本地化字Strings。本地化的 XML 通常保存在网络根目录下的 lang 文件夹中。通过预定义的本地化服务商,从 .XML 加载的 Strings 将覆盖默认的用户界面文本。

每个 Episerver XML 在 <languages> 标签中都至少嵌套了一个区域,因此 Episerver XML 可以是多语言的。

代码示例

<?xml version="1.0" encoding="UTF-8"?>
<languages>
  <language name="English" id="English">
    <boolean_key>--- true
</boolean_key>
    <empty_string_translation/>
    <key_with_line-break>此翻译包含
a line-break.</key_with_line-break>
    <nested>
      <deeply>
        键>我是一个深度嵌套的键。键>
      </deeply>
      键>键嵌套在命名空间内。键>
    </nested>
    <null_translation/>
    <pluralized_key>
      <one>仅找到一个复数。</one>
      <other>哇,您有 %s 个复数!</other>“其他”:“哇,您有 %s 个复数!”,
      <zero>您没有复数。</zero>
    </pluralized_key>
    <simple_key>simple 键, simple message, so simple.</simple_key> "simple_key"": "simple 键, simple message, so simple.",
    <未验证_key>此翻译尚未验证并等待它。“此翻译尚未验证并等待它。(在某些格式中,我们也导出此状态)</未验证_key>
  </language>
</languages>
这篇文章有帮助吗?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.