File Type | Extension | Details | Usage | Example |
---|
Apple Strings | .strings |
| Store text strings |
Code Block |
---|
| /* Class = "NSTableColumn"; headerCell.title = "Location"; ObjectID = "f0Y-kT-hVz"; */
"f0Y-kT-hVz.headerCell.title" = "Location";
/* Class = "NSTextFieldCell"; title = "Address:"; ObjectID = "gfa-oA-9cr"; */
"gfa-oA-9cr.title" = "Address:";
/* Class = "NSTextFieldCell"; title = "for:"; ObjectID = "gsV-Sg-yiA"; */
"gsV-Sg-yiA.title" = "for:"; |
|
Android Strings | .xml |
| Store text strings | |
CSV | .csv | Spread sheet | Categorize itemized data |
Image Added
|
DITA | .dita | XML | Tag documents by structural components (e.g. Topic, Concept, Title, etc.) |
Code Block |
---|
| <concept>
<title>
<titlealts>
<navtitle><searchtitle>
<shortdesc>
<prolog>
<conbody>
<title>|<title>
<related-links>
... |
|
DITAMAP | .ditamap | XML | Content reuse, cross referencing, table of contents, hierarchy |
Code Block |
---|
| <map>
<title>DITA Topic Map</title>
<topicref>Topicref[href="concept1.dita" type="concept" format="dita"
scope="local" navtitle="My Concept 1" locktitle="yes"]
<topicref>Topicref[href="task1.dita"]</topicref>
<topicref>Topicref[href="task2.dita"]</topicref>
<topicref>Topicref[href="reference1.dita"]</topicref>
<topicref>Topicref[href="reference2.dita"]</topicref>
</topicref>
</topicref>
<topicref>Topicref[href="concept2.dita"]</topicref>
</map> |
|
DOCX_OKAPI | .docx .doc | MS Word | Word processing |
|
DOXYGEN | .c .cpp .dox .h | Document- ation | Software documentation (embedded in code)
|
Code Block |
---|
| // Declare and construct instances c1 and c2 of the class Circle
Circle c1(1.2, "blue");
Circle c2(3.4, "green");
// Invoke member function via dot operator
cout << c1.getArea() << endl;
cout << c2.getArea() << endl;
// Reference data members via dot operator
c1.radius = 5.5;
c2.radius = 6.6; |
|
DTD | .dtd | XML | Defines entities within XML documents |
Code Block |
---|
| <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE broadcast
[
<!ELEMENT broadcast (sender, recipient, message)>
<!ELEMENT sender (#PCDATA)>
<!ELEMENT recipient (#PCDATA)>
<!ELEMENT message (#PCDATA)>
<!ATTLIST message importance (low|high)#REQUIRED>
]>
<broadcast>
<sender>Management</sender>
<recipient>All Employees</recipient>
<message importance="high">Please attend company meeting</message>
</broadcast> |
|
EXCEL_OKAPI | .xlsx | MS Excel | Spreadsheet: Categorize itemized data |
Image Added
|
HTML5_ITS |
| Filter configuration | Filter configuration for HTML 5 documents |
|
HTML_OKAPI | .htm .html | HTML | Generate web content |
Code Block |
---|
| <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document Title</title>
</head>
<body>
<p>Document content...</p>
</body>
</html> |
|
IDML | .idml | InDesign XML file | Create desktop publishing content |
Image Added
|
JAVA_PROPERTIES _OKAPI | .properties |
| Store text strings |
Code Block |
---|
| #Application Strings
global.login = Login
global.username = Username
global.password = Password
global.submit = Submit |
|
JSON | .json |
| Map values (ordered lists or key value pairs) |
Code Block |
---|
| {"employees":[
{"firstName":"John", "lastName":"Doe"},
{"firstName":"Anna", "lastName":"Smith"},
{"firstName":"Peter", "lastName":"Jones"}
]} |
|
KV_PAIR | .txt | Text editor | Map key value pairs |
Code Block |
---|
| EN
Purchases=Purchases
Age=Age
City=City
Gender=Gender
Date=Date
ES
Purchases=Compras
Age=Edad
City=Ciudad
Gender=Sexo
Date=Fecha |
|
ODP | .odp .otp
| Open Office presentations | Create presentations | |
ODT | .odt .ott
| Open Office text files | Word processing | |
PDF (Limited support: text only) | .pdf | Portable document format | Text Only: Lingotek translates plain text extracted from PDFs; formatting is not preserved.
| |
PLAINTEXT _OKAPI | .txt | Plain text files | Word processing |
Image Added
|
PO | .po | Portable object | List source and target texts |
Code Block |
---|
| #: modules/user/views_handler_filter_user_name.inc:29
msgid "Enter a comma separated list of user names."
msgstr "Eine kommagetrennte Liste von Benutzernamen."
#: modules/user/views_handler_filter_user_name.inc:112
msgid "Unable to find user: @users"
msgid_plural "Unable to find users: @users"
msgstr[0] "Benutzer konnte nicht gefunden werden: @users"
msgstr[1] "Benutzer konnten nicht gefunden werden: @users" |
Example Source: Drupal
|
PPTX_OKAPI | .pptx | PowerPoint | Create presentations | |
PPT_OKAPI | .ppt | PowerPoint | Create presentations
|
|
RAILS_YAML | .yaml .yml | YAML | Genericized coding language |
Code Block |
---|
| --- ! invoice
invoice: 34843
date : 2017-12-25
bill-to: &id001
given : John
family : Doe
address:
lines: |
123 Your Street
city : Your Town
state : NY
postal : 12345
ship-to: *id001
product:
- sku : BI123D
quantity : 4
description : Basketball
price : 450.00
- sku : BI4567H
quantity : 1
description : Hoop
price : 2392.00
tax : 251.42
total: 4443.52
|
|
RESX | .resx | MS Visual Studio |
|
Code Block |
---|
| <?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns=""
xmlns:xsd="http://www.w3.org/2016/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value"
type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name"
type="xsd:string" />
<xsd:attribute name="type"
type="xsd:string" />
<xsd:attribute name="mimetype"
type="xsd:string" />
</xsd:complexType>
</xsd:element> |
|
RTF_OKAPI | .rtf | Rich Text File | Word processing
|
|
SUBTITLE_RIP | .srt | SubRip Text | Displays video subtitles and corresponding time-stamps |
Code Block |
---|
| 1
00:02:17,440 --> 00:02:20,375
Luke, I am your father.
2
00:02:20,476 --> 00:02:22,501
No. No! That's not true! That's impossible! |
|
TABLE | .tsv | Tab Separated Values | Similar to CSV |
Code Block |
---|
| EmplID Last Name First Name Hire Date
82345 Martin David 21May
82346 Amori Akane 25May
82347 Smith Amy 31May
82348 Liu Xiu 6Jun |
|
TS | .ts | Qt UI Localization Format | Supported Platforms: Linux, OS X, Windows, VxWorks, QNX, Android, iOS, BlackBerry, Sailfish OS, etc. |
Code Block |
---|
| <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es_ES">
<context>
<name>main</name>
<message>
<location filename="../assets/app.cpp" line="6"/>
<source>My String</source>
<comment>My Context</comment>
<translation>Mi cadena</translation>
</message>
<message>
<location filename="../assets/main.qml" line="12"/>
<source>Hello world</source>
<translation>Hola, mundo</translation>
</message>
</context>
</TS> |
|
WIKITEXT |
| Markup for wikis |
|
Code Block |
---|
| h1. Getting Started
# To begin:
## Open the program.
## Login.
Now you can
* Create a file
** Edit a file
** Add images
** Insert comments
||heading 1||heading 2||heading 3||
|cell A1|cell A2|cell A3|
|cell B1|cell B2|cell B3| |
|
WIKI_OKAPI |
| Markup for wikis |
| "" |
XML_OKAPI | .xml | XML | Define custom markup language |
Code Block |
---|
| <?xml version="1.0"?>
<quiz>
<qanda seq="1">
<question>
Who was the first president of the USA?
</question>
<answer>
George Washington
</answer>
</qanda>
</quiz> |
Example Source: Wikipedia
|
XLIFF | .xliff .xlf |
|
|
Code Block |
---|
| <xliff version="1.2">
<file original="Graphic Example.psd"
source-language="en-US" target-language="ja-JP"
tool="Rainbow" datatype="photoshop">
<header>
<skl>
<external-file uid="3BB236513BB24732" href="Graphic Example.psd.skl"/>
</skl>
<phase-group>
<phase phase-name="extract" process-name="extraction"
tool="Rainbow" date="20010926T152258Z"
company-name="NeverLand Inc." job-id="123"
contact-name="Peter Pan" contact-email="ppan@example.com">
<note>Make sure to use the glossary I sent you yesterday.
Thanks.</note>
</phase>
</phase-group>
</header>
<body>
<trans-unit id="1" maxbytes="14">
<source xml:lang="en-US">Quetzal</source>
<target xml:lang="ja-JP">Quetzal</target>
</trans-unit>
<trans-unit id="3" maxbytes="114">
<source xml:lang="en-US">An application to manipulate and
process XLIFF documents</source>
<target xml:lang="ja-JP">XLIFF 文書を編集、または処理
するアプリケーションです。</target>
</trans-unit>
<trans-unit id="4" maxbytes="36">
<source xml:lang="en-US">XLIFF Data Manager</source>
<target xml:lang="ja-JP">XLIFF データ・マネージャ</target>
</trans-unit>
</body>
</file>
</xliff> |
Example Source: Wikipedia
|
XLIFF_OKAPI | .xliff .xlf |
|
| |
XLIFF2_OKAPI | .xliff .xlf |
|
|
Code Block |
---|
| <xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
srcLang="en-US" trgLang="ja-JP">
<file id="f1" original="Graphic Example.psd">
<skeleton href="Graphic Example.psd.skl"/>
<unit id="1">
<segment>
<source>Quetzal</source>
<target>Quetzal</target>
</segment>
</unit>
<unit id="2">
<segment>
<source>An application to manipulate and process XLIFF documents</source>
<target>XLIFF 文書を編集、または処理 するアプリケーションです。</target>
</segment>
</unit>
<unit id="3">
<segment>
<source>XLIFF Data Manager</source>
<target>XLIFF データ・マネージャ</target>
</segment>
</unit>
</file>
</xliff> |
Example Source: Wikipedia
|