Java properties

用於翻譯的原生 Java 格式。

Java properties are usually used as monolingual translations.

Weblate supports ISO-8859-1, UTF-8 and UTF-16 variants of this format. All of them support storing all Unicode characters, it is just differently encoded. In the ISO-8859-1, the Unicode escape sequences are used (for example zkou\u0161ka), all others encode characters directly either in UTF-8 or UTF-16.

備註

Loading escape sequences works in UTF-8 mode as well, so please be careful choosing the correct encoding set to match your application needs.

支援的功能

副檔名

.properties

語言能力 ⓘ

單語言和雙語言

支援複數 ⓘ

No

支援描述 ⓘ

Yes

支援解釋 ⓘ

No

Supports context ⓘ

No

支援位置 ⓘ

No

支援旗標 ⓘ

No

API 識別碼

properties

支援唯讀字串 ⓘ

No

Supports removing obsolete strings ⓘ

No

Check flags added by this format ⓘ

auto-java-messageformat

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

src/app/Bundle_*.properties

單語言基底語言檔案

src/app/Bundle.properties

新翻譯的範本

空白

檔案格式

Java Properties

檔案編碼方式

ISO-8859-1