### ISO-Language codes (https://www.loc.gov/standards/iso639-2/php/code_list.php) in my library:
# zh  |  Chinese
# da  |  Danish
# nl  |  Dutch
# en  |  English
# fr  |  French
# de  |  German
# hi  |  Indian (Hindi)
# te  |  Indian (Telugu)
# fa  |  Iranian (Farsi)
# it  |  Italian
# ja  |  Japanese
# ko  |  Korean
# ru  |  Russian
# es  |  Spanish
# th  |  Thai
### Flags for Overlays -> https://www.countries-ofthe-world.com/flags-of-the-world.html

templates:
  dl_overlay:
    optional:
      - chinese
      - danish
      - dutch
      - english
      - french
      - german
      - indian_hindi
      - indian_telugu
      - iranian_farsi
      - italian
      - japanese
      - korean
      - russian
      - spanish
      - thai
    default:
      overlay_name: <<collection_name>>
      meta_lang: en-US
    plex_search:
      all:
        audio_language:
          - <<chinese>>
          - <<danish>>
          - <<dutch>>
          - <<english>>
          - <<french>>
          - <<german>>
          - <<indian_hindi>>
          - <<indian_telugu>>
          - <<iranian_farsi>>
          - <<italian>>
          - <<japanese>>
          - <<korean>>
          - <<russian>>
          - <<spanish>>
          - <<thai>>
    build_collection: false
    item_overlay: <<overlay_name>>
    item_metadata_language: <<meta_lang>>
  overlay:
    optional:
      - chinese
      - danish
      - dutch
      - english
      - french
      - german
      - indian_hindi
      - indian_telugu
      - iranian_farsi
      - italian
      - japanese
      - korean
      - russian
      - spanish
      - thai
    default:
      chinese_not: zh
      danish_not: da
      dutch_not: nl
      english_not: en
      french_not: fr
      german_not: de
      indian_hindi_not: hi
      indian_telugu_not: te
      iranian_farsi_not: fa
      italian_not: it
      japanese_not: ja
      korean_not: ko
      russian_not: ru
      spanish_not: es
      thai_not: th

      overlay_name: <<collection_name>>
      meta_lang: en-US
    plex_search:
      all:
        audio_language:
          - <<chinese>>
          - <<danish>>
          - <<dutch>>
          - <<english>>
          - <<french>>
          - <<german>>
          - <<indian_hindi>>
          - <<indian_telugu>>
          - <<iranian_farsi>>
          - <<italian>>
          - <<japanese>>
          - <<korean>>
          - <<russian>>
          - <<thai>>
        audio_language.not:
          - <<chinese_not>>
          - <<danish_not>>
          - <<dutch_not>>
          - <<english_not>>
          - <<french_not>>
          - <<german_not>>
          - <<indian_hindi_not>>
          - <<indian_telugu_not>>
          - <<iranian_farsi_not>>
          - <<italian_not>>
          - <<japanese_not>>
          - <<korean_not>>
          - <<russian_not>>
          - <<spanish_not>>
          - <<thai_not>>
    build_collection: false
    item_overlay: <<overlay_name>>
    item_metadata_language: <<meta_lang>>

collections:
  dl_chinese_french:
    template: {name: dl_overlay, chinese: zh, french: fr}
  dl_english_chinese:
    template: {name: dl_overlay, chinese: zh, english: en}
  dl_english_danish:
    template: {name: dl_overlay, english: en, danish: da}
  dl_english_dutch:
    template: {name: dl_overlay, english: en, dutch: nl}
  dl_english_french:
    template: {name: dl_overlay, english: en, french: fr}
  dl_english_indian_hindi:
    template: {name: dl_overlay, english: en, indian_hindi: hi}
  dl_english_indian_telugu:
    template: {name: dl_overlay, english: en, indian_telugu: tu}
  dl_english_iranian_farsi:
    template: {name: dl_overlay, english: en, iranian_farsi: fa}
  dl_english_italian:
    template: {name: dl_overlay, english: en, italian: it}
  dl_english_japanese:
    template: {name: dl_overlay, english: en, japanese: ja}
  dl_english_korean:
    template: {name: dl_overlay, english: en, korean: ko}
  dl_english_russian:
    template: {name: dl_overlay, english: en, russian: ru}
  dl_english_spanish:
    template: {name: dl_overlay, english: en, spanish: es}
  dl_english_thai:
    template: {name: dl_overlay, english: en, thai: th}
  dl_french_danish:
    template: {name: dl_overlay, french: fr, danish: da}
  dl_german_chinese:
    template: {name: dl_overlay, german: de, chinese: zh, meta_lang: de-DE}
  dl_german_danish:
    template: {name: dl_overlay, german: de, danish: da, meta_lang: de-DE}
  dl_german_dutch:
    template: {name: dl_overlay, german: de, dutch: nl, meta_lang: de-DE}
  dl_german_english:
    template: {name: dl_overlay, german: de, english: en, meta_lang: de-DE}
  dl_german_french:
    template: {name: dl_overlay, german: de, french: fr, meta_lang: de-DE}
  dl_german_indian_hindi:
    template: {name: dl_overlay, german: de, indian_hindi: hi, meta_lang: de-DE}
  dl_german_indian_telugu:
    template: {name: dl_overlay, german: de, indian_telugu: te, meta_lang: de-DE}
  dl_german_iranian_farsi:
    template: {name: dl_overlay, german: de, iranian_farsi: fa, meta_lang: de-DE}
  dl_german_italian:
    template: {name: dl_overlay, german: de, italian: it, meta_lang: de-DE}
  dl_german_japanese:
    template: {name: dl_overlay, german: de, japanese: ja, meta_lang: de-DE}
  dl_german_korean:
    template: {name: dl_overlay, german: de, korean: ko, meta_lang: de-DE}
  dl_german_russian:
    template: {name: dl_overlay, german: de, russian: ru, meta_lang: de-DE}
  dl_german_spanish:
    template: {name: dl_overlay, german: de, spanish: es, meta_lang: de-DE}
  dl_german_thai:
    template: {name: dl_overlay, german: de, thai: th, meta_lang: de-DE}
  dl_italian_thai:
    template: {name: dl_overlay, italian: it, thai: th}
  dl_japanese_chinese:
    template: {name: dl_overlay, japanese: ja, chinese: zh}
  dl_korean_french:
    template: {name: dl_overlay, korean: ko, french: fr}

  chinese:
    template: {name: overlay, chinese: zh, chinese_not: null}
  danish:
    template: {name: overlay, danish: da, danish_not: null}
  dutch:
    template: {name: overlay, dutch: nl, dutch_not: null}
  english:
    template: {name: overlay, english: en, english_not: null}
  french:
    template: {name: overlay, french: fr, french_not: null}
  german:
    template: {name: overlay, german: de, german_not: null, meta_lang: de-DE}
  indian_hindi:
    template: {name: overlay, indian_hindi: hi, indian_hindi_not: null}
  indian_telugu:
    template: {name: overlay, indian_telugu: te, indian_telugu_not: null}
  iranian_farsi:
    template: {name: overlay, iranian_farsi: fa, iranian_farsi_not: null}
  italian:
    template: {name: overlay, italian: it, italian_not: null}
  japanese:
    template: {name: overlay, japanese: ja, japanese_not: null}
  korean:
    template: {name: overlay, korean: ko, korean_not: null}
  russian:
    template: {name: overlay, russian: ru, russian_not: null}
  spanish:
    template: {name: overlay, spanish: es, spanish_not: null}
  thai:
    template: {name: overlay, thai: th, thai_not: null}