Downloads a file format configuration by its ID. Use settings/documentformats/configs/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) /api/settings/timezones/codes
(POST) /settings/timezones/codes
documentformats/configs/{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:
v | The internal name/code of the time zone in English | string |
t | The print title of time zone with UTC offset details | string |
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":>0</CompactingOption> "Georgian Standard Time", <ModulesVersion /> "t": "(UTC+04:00) Tbilissi" <QA },/> .... ] |