Skip to main content

Language Comparison

FileFlows allows several flow elements to compare the language of a source (e.g., an audio track) against user-defined patterns.

These comparisons follow the String Operations.

The language from the source is compared using one of the following:

  • ISO-639-1 Code (e.g., en for English)
  • ISO-639-2 Code (e.g., eng for English)
  • English Name (e.g., English) If any of these match the pattern entered by the user, the comparison is considered a match.

Examples

SourceComparisonResultReason
frFrenchMatches"French" is the English name for the ISO-639-1 code fr.
German`frde`Matches
enorigMatchesIf the variable OriginalLanguage is set to en or a variant, it will match.
eng*ishMatchesThe English name for eng is English, which ends with ish.
Original Language

There is a speical orig or {OriginalLanguage} that can be used to match the original language.

This requires the OriginalLanguage variable to be set earlier on in the flow to work.

See Movie Lookup, TV Show Lookup, TV Episode Lookup