支持文件类型 (Strings)

播放框架属性

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

文件扩展名

.de, .fr, .en,...

API扩展

play_properties

导入

可以

导出

可以

复数形式支持

没有

描述支持

可以

格式选项

escape_single_quotes

Play 框架 ⁇ 是一个广泛使用的基于 Scala 的网络开发框架。Play 框架支持本地化和国际化。标准本地化文件格式为 Play Framework Properties 文件。您可以使用 Phrase 导入和导出这些文档。 Play Framework Properties 文件与 Java Properties 文件共享相同的文件结构(即用 = 连接的键-值字符串对)。它们的区别主要在于文件的扩展名。Java 属性文件通常以 .properties 结尾,而 Play Framework 属性文件通常遵循基于区域的约定(例如, messages.en/ messages.de)。

格式选项

标识

escape_single_quotes

类型

布尔值

上传

可以

下载

可以

默认

True

说明

用另一个单报价转义单引号(例如)。

代码示例

boolean_key = --- true\n
empty_string_translation = 
# 这是这个键的惊人描述!
key_with_description = 看看吧!这个字键有说明!(至少在某些格式)
key_with_line-break = 这些翻译包含\na 换行符。
nest.deeply.键 = 哇,这个键嵌套的更深。
nest.key = 该键嵌套在名称空间内。
null_translation = 
pluralized_key.one = 仅找到一个复数。
pluralized_key.other = 哇,您有 %s 个复数!
pluralized_key.zero = 您没有复数。
sample_collection = ---\n- 第一项\n- 第二项\n- 第三项\n
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.