Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Downloads a file format configuration by its ID. Use settings/documentformats/list to enumerate all your configurations.

A file format configuration is an XML document that describes how to extract translatable text from a file such as a Word document, a JSON file, a text file etc.

You can upload XML configurations to your Wordbee Translator under "Settings" > choose file format > "Upload".

URL

(GET) /settingsapi/timezones/codes
(POST) /settings/timezones/codes
documentformats/{id} 

PARAMETERS

The method has no parameters.

Use the POST variant for auto-completion and pagination features.URL parameters are:

id

The unique ID of the configuration.

string, Mandatory

RESULTS

The result is a JSON array with one element per country:

vThe internal name/code of the time zone in Englishstring
tThe print title of time zone with UTC offset detailsstring

 

EXAMPLES

List of time zones:

...

text/xml HTTP response containing the configuration in XML format.

EXAMPLES

A sample configuration:

Code Block
<?xml version="1.0" encoding="utf-8"?>
<!-- Exchange format for text extraction rules -->
<ParserConfigurations xmlns="http://www.wordbee.com/config">
    <!-- Rule -->
    <ParserConfiguration xmlns="http://www.wordbee.com/config">
        <Name>Default</Name>
        <Description></Description>
        <ParserDomain>RTF</ParserDomain>
         "t": "(UTC+00:00) Monrovia, Reykjavik"<EParser>10</EParser>
        },<SegmentationRulesEnabled>true</SegmentationRulesEnabled>
    {    <SegmentationSplitAtNewlines>true</SegmentationSplitAtNewlines>
    "v": "GTB Standard Time", <SegmentationSplitAtInlineTags>true</SegmentationSplitAtInlineTags>
       "t": "(UTC+02:00) Athènes, Bucarest" <VersionPretranslation>CompareTexts</VersionPretranslation>
      },  <UserTextPatterns xmlns="" />
{        <CompactingOption xmlns="v": "Georgian Standard Time",>0</CompactingOption>
        <ModulesVersion />
  "t": "(UTC+04:00) Tbilissi"    <QA },/>
		....
]