支持文件类型 (Strings)

.INI (字符串)

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

文件扩展名

.ini

API 扩展

ini

导入

导出

复数形式支持

描述支持

.INI 文件广泛用于各种平台上的应用程序。尽管 .INI 文件不像 .XML 和 .JSON 等其他文件格式那样具有严格的形成约定,但大多数 .INI 文件由几个由 = 分隔的键值对组成。一个内置的筛选,有助于简化 INI 文件的翻译和本地化。

代码示例

boolean_key = --- true\n
empty_string_translation = 
key_with_description = 看看这个!This key has a description!(至少在某些格式中)
null_translation =  
pluralized_key.one = 只找到一只小猫。
pluralized_key.other = 哇,你有 %s 只小猫!
pluralized_key.zero = 你没有小猫。
sample_collection = ---\n- 第一条目\n- 第二条目\n- 第三条目\n
simple_key = 简单的键,简单的消息,就是这么简单。
unverified_key = 此翻译尚未验证,正在等待验证。(在某些格式中,我们也会导出此状态)

[key_with_line\-break]
key_with_line-break = 此翻译包含\n一个换行符。

[nested]
deeply.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.