支持文件类型 (Strings)

.PROPERTIES - Mozilla (Strings)

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

文件扩展名 

.properties

API 扩展 

mozilla_properties

导入 

导出 

复数形式支持 

描述支持 

格式选项

escape_single_quotes: true, omitted_separator_space: false, crlf_line_terminators: false, escape_meta_chars: true

Mozilla=""Localization=""使用 .properties 文件。"这些属性的语法和要求与标准 Java 属性 文件基本相同。

在翻译之前进行健全性检查,包括删除复制键(特别是对于较大的文件)和使用正确的换行符(文本 Strings 中的任何换行符都应在前面加上 \n,否则将被解析器忽略)。

代码示例

boolean_key = --- true\n
empty_string_translation = 
# 这是这个键的惊人描述!
key_with_description = 检查一下\!这键有一个描述\!(至少在某些格式中)
key_with_line-break = 此翻译包含\na 换行符。
nested.deeply.key = 我是一个深度嵌套的键。“nested.deeply.key”:“我是一个深度嵌套的键。”,
nested.key = 此键嵌套在命名空间内。“nested.key”:“此键嵌套在命名空间内。”,
null_translation = 
pluralized_key.one = 仅找到一只小猫。“pluralized_key.one”:“仅找到一只小猫。”,
pluralized_key.other = 哇,你有 %s kittens\!"pluralized_key.other"":“哇,你有 %s kittens!",
pluralized_key.zero = 您没有小猫。“pluralized_key.zero”:“您没有小猫。”,
sample_collection = ---\n- 第一项\n- 第二项\n- 第三项\n
simple_key = 简单键,简单信息,如此简单。“simple_key”:“简单键,简单信息,如此简单。”,
未验证_key = 此翻译尚未验证并等待它。“此翻译尚未验证并等待它。(在某些格式中,我们也导出此状态)
这篇文章有帮助吗?

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.