支持文件类型 (Strings)

.INI (Strings)

文本由 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.