Skip to content

Main content

Audio Guide Language Channel Token Tool

Resolve one exact supplied language token against a caller-provided channel map.

Loading tool…

Description

Resolve one exact supplied language token against a caller-provided channel map.

Travel records use explicit dates, time axes, offsets, operating-day boundaries, durations, and capacity assumptions. A scheduling or validity term is meaningful only under those conventions. Actual operator rules, bookings, local conditions, and availability require separate information.

Resolve one exact supplied language token against a caller-provided channel map.

When to use this tool

Use Audio Guide Language Channel Token when you need the stated date, clock, scheduling, language, or capacity check from already supplied travel records.

How to use the tool and how it works

  1. Enter requestedLanguage, channelLanguages, channelIds. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read found, channelId. Inspect found before interpreting the associated values.

Look up requestedLanguage exactly in distinct channelLanguages aligned with channelIds. Return found and the corresponding channel ID, or empty ID when absent.1

Input fieldMeaning and unitsAccepted input
requestedLanguageRequested LanguageRequired. Text; maximum UTF-16 length 8192.
channelLanguagesChannel LanguagesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
channelIdsChannel IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
foundWhether an exact language match was found; a found channel ID can itself be empty.Required. Boolean.
channelIdChannel IdRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "requestedLanguage": "fr",
    "channelLanguages": [
      "en",
      "fr"
    ],
    "channelIds": [
      "1",
      "2"
    ]
  },
  "output": {
    "found": true,
    "channelId": "2"
  }
}

Limitations and assumptions

  • A found channel may itself have an empty ID, so inspect found. No language normalization, channel availability, translation quality, or device access is verified.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.

Alternative or Complementary methods

Use the actual schedule, calendar, booking record, and operator conditions for a real travel decision. Keep numeric clock conventions explicit when comparing this term with another method.

References

  1. Calculation and input contract: tourism/audio-guide-language-channel-token — tool.io

Similar or alternative tools