支持的文件格式

Weblate 支持 translate-toolkit 理解的大多数翻译格式,但是每种格式都略有不同,可能会出现未经良好测试的格式问题。

注解

为您的应用程序选择文件格式时,最好在您使用的工具箱/平台中保留一些公认的格式。这样,您的翻译人员可以额外使用他们习惯使用的任何工具,并且更有可能为您的项目做出贡献。

双语和单语格式

支持 monolingual 和 bilingual 格式。双语格式在单个文件中存储两种语言 —— 源和翻译(典型示例是 GNU gettextXLIFFApple iOS strings 字符串)。另一方面,单语格式通过 ID 识别字符串,每个语言文件仅包含那些语言到任何给定语言(通常是 Android string resources)的映射。两种变体都使用某些文件格式,请参见下面的详细说明。

为了正确使用单语文件,Weblate 要求访问一个包含完整字符串列表的文件,以与其源一起翻译 —— 该文件在 Weblate 中称为 单语言译文模版语言文件,尽管命名方式可能会有所不同。

另外,可以利用 中间语言文件 扩展此工作流程,以包括开发人员提供的字符串,但不要在最终的字符串中使用。

自动检测

Weblate 可以自动检测几种常用的文件格式,但是这种检测会损害您的性能,并且会限制特定于给定文件格式的功能(例如,自动添加新翻译)。

翻译类型功能

所有受支持格式的功能:

格式

语言能力 1

复数 2

注释 3

语境 4

位置 5

标记 8

附加状态 6

GNU gettext

双语

支持

支持

支持

支持

9

需要编辑

单语 gettext

单一

支持

支持

支持

支持

9

需要编辑

XLIFF

二者

支持

支持

支持

支持

10

需要编辑,已同意

Java 属性

二者

不支持

支持

不支持

不支持

不支持

GWT properties

单一

支持

支持

不支持

不支持

不支持

Joomla translations

单一

不支持

支持

不支持

支持

不支持

Qt Linguist .ts

二者

支持

支持

不支持

支持

10

需要编辑

Android string resources

单一

支持

7

不支持

不支持

10

Apple iOS strings

双语

不支持

支持

不支持

不支持

不支持

PHP 字符串

单一

11

支持

不支持

不支持

不支持

JSON files

单一

不支持

不支持

不支持

不支持

不支持

JSON i18next files

单一

支持

不支持

不支持

不支持

不支持

go-i18n JSON files

单一

支持

不支持

不支持

不支持

不支持

ARB File

单一

支持

支持

不支持

不支持

不支持

WebExtension JSON

单一

支持

支持

不支持

不支持

不支持

.XML resource files

单一

不支持

支持

不支持

不支持

10

CSV 文件

二者

不支持

支持

支持

支持

不支持

需要编辑

YAML files

单一

不支持

支持

不支持

不支持

不支持

Ruby YAML files

单一

支持

支持

不支持

不支持

不支持

DTD files

单一

不支持

不支持

不支持

不支持

不支持

Flat XML

单一

不支持

不支持

不支持

不支持

10

Windows RC files

单一

不支持

支持

不支持

不支持

不支持

Excel Open XML

单一

不支持

支持

支持

支持

不支持

需要编辑

应用商店元数据文件

单一

不支持

不支持

不支持

不支持

不支持

Subtitle files

单一

不支持

不支持

不支持

支持

不支持

HTML files

单一

不支持

不支持

不支持

不支持

不支持

OpenDocument Format

单一

不支持

不支持

不支持

不支持

不支持

IDML Format

单一

不支持

不支持

不支持

不支持

不支持

INI translations

单一

不支持

不支持

不支持

不支持

不支持

Inno Setup INI 翻译

单一

不支持

不支持

不支持

不支持

不支持

1

请参见 双语和单语格式

2

将带有不同数量的字符串正确本地化时复数是必要的。

3

注释能够用户传递要翻译的字符串的附加信息。

4

文本用于却别不同范围中使用的相同字符串(例如`Sun`可以用作 “Sunday” 名称的缩写,或用作我们最近的恒星)。

5

源代码中字符串的位置会帮助熟练的译者识别出字符串如何使用。

6

除了 “Not translated” (未翻译)和 “Translated” (已翻译),文件格式支持的其它状态。

7

放在 <string> 元素前的 XML 注释,解析为开发者的注释。

8

请参见 定制行为

9(1,2)

gettext 类型的注释用作标记。

10(1,2,3,4,5)

对于基于格式所有 XML,标记从非标准的属性 weblate-flags 中提取。此外,max-length:N 通过 maxwidth attribute <http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#maxwidth>`_如在 XLIFF 标准中定义的,请参见 :ref:`xliff-flags

11

只对于 Laravel 来支持复数,在字符串语法中使用来定义它们,请参见 Localization in Laravel

GNU gettext

翻译自由软件用得最广泛的格式。

通过调整文件头或链接到相应的源文件,可以支持存储在文件中的语境信息。

双语 gettext PO 文件通常如下所示:

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "Monday"
msgstr "Pondělí"

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "Tuesday"
msgstr "Úterý"

#: weblate/accounts/avatar.py:163
msgctxt "No known user"
msgid "None"
msgstr "Žádný"

典型的 Weblate 组件配置

文件掩码

po/*.po

单语言译文模版语言文件

Empty

新翻译的译文模版

po/messages.pot

文件格式

Gettext PO file

单语 gettext

一些项目决定使用 gettext 作为单语格式 —— 它们仅在源代码中编码 ID,然后将字符串翻译成所有语言,包括英语。支持此功能,尽管在将组件导入 Weblate 时必须明确选择此文件格式。

单语言的 gettext PO 文件通常如下所示:

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "day-monday"
msgstr "Pondělí"

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "day-tuesday"
msgstr "Úterý"

#: weblate/accounts/avatar.py:163
msgid "none-user"
msgstr "Žádný"

基本语言文件将是:

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "day-monday"
msgstr "Monday"

#: weblate/media/js/bootstrap-datepicker.js:1421
msgid "day-tuesday"
msgstr "Tuesday"

#: weblate/accounts/avatar.py:163
msgid "none-user"
msgstr "None"

典型的 Weblate 组件配置

文件掩码

po/*.po

单语言译文模版语言文件

po/en.po

新翻译的译文模版

po/messages.pot

文件格式

Gettext PO 文件(单语)

XLIFF

创建基于 XML 的格式来标准化翻译文件,但最终它是该领域中 许多标准 之一。

XML Localization Interchange File Format (XLIFF) 通常用作双语言格式,但 Weblate 也支持其作为单语言格式。

参见

XML Localization Interchange File Format (XLIFF) 规范

翻译状态

在 3.3 版更改: Weblate 忽略 3.3 发布版本之前的状态属性。

文件中的 state 属性在 Weblate 中被部分处理并映射为 “Needs edit” (需要编辑)的状态(如果出现目标的话,后面的状态用于将字符串标记为需要编辑: newneeds-translationneeds-adaptationneeds-l10n )。如果应该省略 state 属性,只要 <target> 元素存在,那么字符串被认为需要翻译。

如果翻译字符串具有 approved="yes",那么它还将被导入 Weblate 作为 “Approved”(同意的),任何其它内容被导入作为 “Waiting for review” (等待复核,这与 XLIFF 规范匹配)。

当存储时,Weblate 如无必要不会添加其它属性:

  • state 属性只在字符串标记为需要编辑的情况下添加。

  • approved 属性只在字符串已经被复查的情况下添加。

  • 在其它情况下不添加属性,但在它们出现的情况下更新。

那意味着当使用 XLIFF 格式时,强烈推荐打开 Weblate 复查过程,从而能看到并更改字符串的同意状态。

请参见 专门的审核者

相似地在导入这样的文件时(在上传表格中),应该选择 Processing of strings needing edit 之下的 Import as translated

XLIFF 中的空白字符和新行符

在 XML 格式中不区分通常类型或量的空白字符。如果想要保留,必须将 xml:space="preserve" 标记添加到字符串中。

例如:

    <trans-unit id="10" approved="yes">
        <source xml:space="preserve">hello</source>
        <target xml:space="preserve">Hello, world!
</target>
    </trans-unit>

指定翻译标记

还可以通过使用 weblate-flags 属性指定附加的翻译标记(请参见 定制行为)。Weblate 还理解来自 XLIFF 规范的 maxwidthfont 属性:

<trans-unit id="10" maxwidth="100" size-unit="pixel" font="ubuntu;22;bold">
   <source>Hello %s</source>
</trans-unit>
<trans-unit id="20" maxwidth="100" size-unit="char" weblate-flags="c-format">
   <source>Hello %s</source>
</trans-unit>

解析 font 属性用于字体集、尺寸和粗细,上面的示例显示了全部,尽管只需要字符集。字符集中的任何空白字符被转换为下划线,所以 Source Sans Pro 变成 Source_Sans_Pro ,当命名字符集时请记住这些请参见 管理字型)。

单元键或上下文

Weblate 通过 resname 属性在它出线的情况下识别 XLIFF 文件中的单元,并退回到 id (如果出现的话与 file 标签一起)。

resname 属性被认为是人类友好的单元识别符,对 Weblate 比 id 更适于显示。在整个 XLIFF 文件中 resname 具有一致性。这是 Weblate 需要的,并且不被 XLIFF 标准覆盖——它不在这个属性上放入任何独特性限制。

用于双语言 XLIFF 的典型 Weblate 组件配置

文件掩码

localizations/*.xliff

单语言译文模版语言文件

Empty

新翻译的译文模版

localizations/en-US.xliff

文件格式

XLIFF Translation File

用于单语言 XLIFF 的典型 Weblate 组件配置

文件掩码

localizations/*.xliff

单语言译文模版语言文件

localizations/en-US.xliff

新翻译的译文模版

localizations/en-US.xliff

文件格式

XLIFF Translation File

Java 属性

用于翻译的本地 Java 格式。

Java 属性通常用作单语言翻译。

Weblate 支持这个格式的 ISO-8859-1、UTF-8 和 UTF-16 变体。它们所有都支持存储 Unicode 字符,只是编码不同。在 ISO-8859-1 中,使用了 Unicode 转义序列(例如 zkou\u0161ka),所有其它编码字符直接或者在 UTF-8 中或者在 UTF-16 中。

注解

加载转义序列也在 UTF-8 模式中工作,因此请小心选择正确的编码组,与您应用的需要匹配。

典型的 Weblate 组件配置

文件掩码

src/app/Bundle_*.properties

单语言译文模版语言文件

src/app/Bundle.properties

新翻译的译文模版

Empty

文件格式

Java Properties (ISO-8859-1)

GWT properties

Native GWT format for translations.

GWT properties are usually used as monolingual translations.

典型的 Weblate 组件配置

文件掩码

src/app/Bundle_*.properties

单语言译文模版语言文件

src/app/Bundle.properties

新翻译的译文模版

Empty

文件格式

GWT Properties

INI translations

4.1 新版功能.

INI file format for translations.

INI translations are usually used as monolingual translations.

典型的 Weblate 组件配置

文件掩码

language/*.ini

单语言译文模版语言文件

language/en.ini

新翻译的译文模版

Empty

文件格式

INI File

注解

Weblate only extracts keys from sections within a INI file. In case your INI file lacks sections, you might want to use Joomla translations or Java 属性 instead.

Inno Setup INI 翻译

4.1 新版功能.

用于翻译的 Inno Setup INI 文件格式。

Inno Setup INI 翻译,通常用作单语言翻译。

注解

The only notable difference to INI translations is in supporting %n and %t placeholders for line break and tab.

典型的 Weblate 组件配置

文件掩码

language/*.islu

单语言译文模版语言文件

language/en.islu

新翻译的译文模版

Empty

文件格式

Inno Setup INI 文件

注解

Only Unicode files (.islu) are currently supported, ANSI variant (.isl) is currently not supported.

Joomla translations

2.12 新版功能.

Native Joomla format for translations.

Joomla translations are usually used as monolingual translations.

典型的 Weblate 组件配置

文件掩码

language/*/com_foobar.ini

单语言译文模版语言文件

language/en-GB/com_foobar.ini

新翻译的译文模版

Empty

文件格式

Joomla Language File

Qt Linguist .ts

Translation format used in Qt based applications.

Qt Linguist files are used as both bilingual and monolingual translations.

Typical Weblate 组件配置 when using as bilingual

文件掩码

i18n/app.*.ts

单语言译文模版语言文件

Empty

新翻译的译文模版

i18n/app.de.ts

文件格式

Qt Linguist Translation File

Typical Weblate 组件配置 when using as monolingual

文件掩码

i18n/app.*.ts

单语言译文模版语言文件

i18n/app.en.ts

新翻译的译文模版

i18n/app.en.ts

文件格式

Qt Linguist Translation File

Android string resources

Android specific file format for translating applications.

Android string resources are monolingual, the 单语言译文模版语言文件 file is stored in a different location from the others res/values/strings.xml.

典型的 Weblate 组件配置

文件掩码

res/values-*/strings.xml

单语言译文模版语言文件

res/values/strings.xml

新翻译的译文模版

Empty

文件格式

Android String Resource

注解

Android string-array structures are not currently supported. To work around this, you can break your string arrays apart:

<string-array name="several_strings">
    <item>First string</item>
    <item>Second string</item>
</string-array>

become:

<string-array name="several_strings">
    <item>@string/several_strings_0</item>
    <item>@string/several_strings_1</item>
</string-array>
<string name="several_strings_0">First string</string>
<string name="several_strings_1">Second string</string>

The string-array that points to the string elements should be stored in a different file, and not be made available for translation.

This script may help pre-process your existing strings.xml files and translations: https://gist.github.com/paour/11291062

Apple iOS strings

Apple specific file format for translating applications, used for both iOS and iPhone/iPad application translations.

Apple iOS strings are usually used as bilingual translations.

典型的 Weblate 组件配置

文件掩码

Resources/*.lproj/Localizable.strings

单语言译文模版语言文件

Resources/en.lproj/Localizable.strings or Resources/Base.lproj/Localizable.strings

新翻译的译文模版

Empty

文件格式

iOS Strings (UTF-8)

PHP 字符串

PHP translations are usually monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

Example file:

<?php
$LANG['foo'] = 'bar';
$LANG['foo1'] = 'foo bar';
$LANG['foo2'] = 'foo bar baz';
$LANG['foo3'] = 'foo bar baz bag';

典型的 Weblate 组件配置

文件掩码

lang/*/texts.php

单语言译文模版语言文件

lang/en/texts.php

新翻译的译文模版

lang/en/texts.php

文件格式

PHP strings

Laravel PHP 字符串

在 4.1 版更改.

The Laravel PHP localization files are supported as well with plurals:

<?php
return [
    'welcome' => 'Welcome to our application',
    'apples' => 'There is one apple|There are many apples',
];

JSON files

2.0 新版功能.

在 2.16 版更改: Since Weblate 2.16 and with translate-toolkit at-least 2.2.4, nested structure JSON files are supported as well.

在 4.3 版更改: The structure of JSON file is properly preserved even for complex situations which were broken in prior releases.

JSON format is used mostly for translating applications implemented in JavaScript.

Weblate currently supports several variants of JSON translations:

JSON translations are usually monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

Example file:

{
  "Hello, world!\n": "Ahoj světe!\n",
  "Orangutan has %d banana.\n": "",
  "Try Weblate at https://demo.weblate.org/!\n": "",
  "Thank you for using Weblate.": ""
}

Nested files are supported as well (see above for requirements), such a file can look like:

{
  "weblate": {
    "hello": "Ahoj světe!\n",
    "orangutan": "",
    "try": "",
    "thanks": ""
  }
}

提示

The JSON file and JSON nested structure file can both handle same type of files. The only difference between them is when adding new strings. The nested variant tries to parse the key and insert the new string into the matching structure.

典型的 Weblate 组件配置

文件掩码

langs/translation-*.json

单语言译文模版语言文件

langs/translation-en.json

新翻译的译文模版

Empty

文件格式

JSON nested structure file

JSON i18next files

在 2.17 版更改: Since Weblate 2.17 and with translate-toolkit at-least 2.2.5, i18next JSON files with plurals are supported as well.

i18next is an internationalization framework written in and for JavaScript. Weblate supports its localization files with features such as plurals.

i18next translations are monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

注解

Weblate supports the i18next JSON v3 format. The v2 and v1 variants are mostly compatible, with exception of how plurals are handled.

Example file:

{
  "hello": "Hello",
  "apple": "I have an apple",
  "apple_plural": "I have {{count}} apples",
  "apple_negative": "I have no apples"
}

典型的 Weblate 组件配置

文件掩码

langs/*.json

单语言译文模版语言文件

langs/en.json

新翻译的译文模版

Empty

文件格式

i18next JSON file

go-i18n JSON files

4.1 新版功能.

go-i18n translations are monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

注解

Weblate supports the go-i18n JSON v1 format, for flat JSON formats please use JSON files. The v2 format with hash is currently not supported.

典型的 Weblate 组件配置

文件掩码

langs/*.json

单语言译文模版语言文件

langs/en.json

新翻译的译文模版

Empty

文件格式

go-i18n JSON file

ARB File

4.1 新版功能.

ARB translations are monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

典型的 Weblate 组件配置

文件掩码

lib/l10n/intl_*.arb

单语言译文模版语言文件

lib/l10n/intl_en.arb

新翻译的译文模版

Empty

文件格式

ARB file

WebExtension JSON

2.16 新版功能: This is supported since Weblate 2.16 and with translate-toolkit at-least 2.2.4.

File format used when translating extensions for Mozilla Firefox or Google Chromium.

注解

While this format is called JSON, its specification allows to include comments, which are not part of JSON specification. Weblate currently does not support file with comments.

Example file:

{
  "hello": {
    "message": "Ahoj světe!\n",
    "description": "Description",
    "placeholders": {
      "url": {
        "content": "$1",
        "example": "https://developer.mozilla.org"
      }
    }
  },
  "orangutan": {
    "message": "",
    "description": "Description"
  },
  "try": {
    "message": "",
    "description": "Description"
  },
  "thanks": {
    "message": "",
    "description": "Description"
  }
}

典型的 Weblate 组件配置

文件掩码

_locales/*/messages.json

单语言译文模版语言文件

_locales/en/messages.json

新翻译的译文模版

Empty

文件格式

WebExtension JSON file

.XML resource files

2.3 新版功能.

A .XML resource (.resx) file employs a monolingual XML file format used in Microsoft .NET applications. It is interchangeable with .resw, when using identical syntax to .resx.

典型的 Weblate 组件配置

文件掩码

Resources/Language.*.resx

单语言译文模版语言文件

Resources/Language.resx

新翻译的译文模版

Empty

文件格式

.NET 资源文件

CSV 文件

2.4 新版功能.

CSV 文件可以包含源和翻译的简单列表。Weblate 支持以下文件:

  • 带有标头定义字段(location, source, target, ID, fuzzy, context, translator_comments, developer_comments)的文件。这是推荐的方法,因为它最不容易出错。挑选 :guilabel:CSV file 作为一种文件格式。

  • 具有两个字段的文件 —— 源和翻译(按此顺序),选择 Simple CSV file 作为文件格式

  • 无标头文件,字段顺序由 translate-toolkit 定义:location,source,target,ID,fuzzy,context,translator_comments,developer_comments; 挑选 :guilabel:CSV file 作为一种文件格式。

  • Remember to define 单语言译文模版语言文件 when your files are monolingual (see 双语和单语格式).

警告

CSV 格式当前会自动检测 CSV 文件的方言。在某些情况下,自动检测可能会失败,并且您会得到不同的结果。对于值中包含换行符的 CSV 文件尤其如此。作为一种解决方法,推荐省略引用的字符。

Example file:

Thank you for using Weblate.,Děkujeme za použití Weblate.

双语 CSV 文件的典型Weblate 组件配置

文件掩码

locale/*.csv

单语言译文模版语言文件

Empty

新翻译的译文模版

locale/en.csv

文件格式

CSV 文件

单语 CSV 文件的典型 Weblate 组件配置

文件掩码

locale/*.csv

单语言译文模版语言文件

locale/en.csv

新翻译的译文模版

locale/en.csv

文件格式

简单 CSV 文件

参见

CSV

YAML files

2.9 新版功能.

The plain YAML files with string keys and values. Weblate also extract strings from lists or dictionaries.

Example of a YAML file:

weblate:
  hello: ""
  orangutan": ""
  try": ""
  thanks": ""

典型的 Weblate 组件配置

文件掩码

translations/messages.*.yml

单语言译文模版语言文件

translations/messages.en.yml

新翻译的译文模版

Empty

文件格式

YAML file

Ruby YAML files

2.9 新版功能.

Ruby i18n YAML files with language as root node.

Example Ruby i18n YAML file:

cs:
  weblate:
    hello: ""
    orangutan: ""
    try: ""
    thanks: ""

典型的 Weblate 组件配置

文件掩码

translations/messages.*.yml

单语言译文模版语言文件

translations/messages.en.yml

新翻译的译文模版

Empty

文件格式

Ruby YAML file

参见

YAML, YAML files

DTD files

2.18 新版功能.

Example DTD file:

<!ENTITY hello "">
<!ENTITY orangutan "">
<!ENTITY try "">
<!ENTITY thanks "">

典型的 Weblate 组件配置

文件掩码

locale/*.dtd

单语言译文模版语言文件

locale/en.dtd

新翻译的译文模版

Empty

文件格式

DTD file

Flat XML files

3.9 新版功能.

Example of a flat XML file:

<?xml version='1.0' encoding='UTF-8'?>
<root>
  <str key="hello_world">Hello World!</str>
  <str key="resource_key">Translated value.</str>
</root>

典型的 Weblate 组件配置

文件掩码

locale/*.xml

单语言译文模版语言文件

locale/en.xml

新翻译的译文模版

Empty

文件格式

Flat XML file

参见

Flat XML

Windows RC files

在 4.1 版更改: Support for Windows RC files has been rewritten.

注解

Support for this format is currently in beta, feedback from testing is welcome.

Example Windows RC file:

LANGUAGE LANG_CZECH, SUBLANG_DEFAULT

STRINGTABLE
BEGIN
    IDS_MSG1                "Hello, world!\n"
    IDS_MSG2                "Orangutan has %d banana.\n"
    IDS_MSG3                "Try Weblate at http://demo.weblate.org/!\n"
    IDS_MSG4                "Thank you for using Weblate."
END

典型的 Weblate 组件配置

文件掩码

lang/*.rc

单语言译文模版语言文件

lang/en-US.rc

新翻译的译文模版

lang/en-US.rc

文件格式

RC file

应用商店元数据文件

3.5 新版功能.

Metadata used for publishing apps in various app stores can be translated. Currently the following tools are compatible:

The metadata consists of several textfiles, which Weblate will present as separate strings to translate.

典型的 Weblate 组件配置

文件掩码

fastlane/android/metadata/*

单语言译文模版语言文件

fastlane/android/metadata/en-US

新翻译的译文模版

fastlane/android/metadata/en-US

文件格式

App store metadata files

提示

In case you don’t want to translate certain strings (for example changelogs), mark them read-only (see 定制行为). This can be automated by the 批量编辑.

Subtitle files

3.7 新版功能.

Weblate 可以翻译多个字幕文件:

  • SubRip subtitle file (*.srt)

  • MicroDVD subtitle file (*.sub)

  • Advanced Substation Alpha subtitles file (*.ass)

  • Substation Alpha subtitle file (*.ssa)

典型的 Weblate 组件配置

文件掩码

path/*.srt

单语言译文模版语言文件

path/en.srt

新翻译的译文模版

path/en.srt

文件格式

SubRip subtitle file

参见

Subtitles

Excel Open XML

3.2 新版功能.

Excel Open XML (.xlsx) files can be imported and exported.

When uploading XLSX files for translation, be aware that only the active worksheet is considered, and there must be at least a column called source (which contains the source string) and a column called target (which contains the translation). Additionally there should be the column called context (which contains the context path of the translation string). If you use the XLSX download for exporting the translations into an Excel workbook, you already get a file with the correct file format.

HTML files

4.1 新版功能.

注解

Support for this format is currently in beta, feedback from testing is welcome.

The translatable content is extracted from the HTML files and offered for the translation.

参见

HTML

OpenDocument Format

4.1 新版功能.

注解

Support for this format is currently in beta, feedback from testing is welcome.

The translatable content is extracted from the OpenDocument files and offered for the translation.

IDML Format

4.1 新版功能.

注解

Support for this format is currently in beta, feedback from testing is welcome.

The translatable content is extracted from the Adobe InDesign Markup Language files and offered for the translation.

其它

Most formats supported by translate-toolkit which support serializing can be easily supported, but they did not (yet) receive any testing. In most cases some thin layer is needed in Weblate to hide differences in behavior of different translate-toolkit storages.

只读字符串

3.10 新版功能.

Read-only strings from translation files will be included, but can not be edited in Weblate. This feature is natively supported by few formats (XLIFF and Android string resources), but can be emulated in others by adding a read-only flag, see 定制行为.