You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
320 lines
8.4 KiB
320 lines
8.4 KiB
##############################################################################
|
|
# Languages Overlays #
|
|
# Created by Yozora, Bullmoose20, Cpt Kuesel, & Sohjiro #
|
|
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
|
# https://metamanager.wiki/en/latest/defaults/overlays/languages.html #
|
|
##############################################################################
|
|
|
|
external_templates:
|
|
pmm: templates
|
|
template_variables:
|
|
default:
|
|
style: round
|
|
country: <<key>>
|
|
queue: position
|
|
pmm: flag/<<style>>/<<country>>
|
|
|
|
queues:
|
|
position:
|
|
left:
|
|
- horizontal_align: left
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 15
|
|
- horizontal_align: left
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 75
|
|
- horizontal_align: left
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 135
|
|
- horizontal_align: left
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 195
|
|
- horizontal_align: left
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 255
|
|
right:
|
|
- horizontal_align: right
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 15
|
|
- horizontal_align: right
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 75
|
|
- horizontal_align: right
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 135
|
|
- horizontal_align: right
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 195
|
|
- horizontal_align: right
|
|
vertical_align: top
|
|
horizontal_offset: 15
|
|
vertical_offset: 255
|
|
|
|
templates:
|
|
flags:
|
|
conditionals:
|
|
search_attribute:
|
|
default: audio_language
|
|
conditions:
|
|
- use_subtitles: true
|
|
value: subtitle_language
|
|
ignore_blank_results: true
|
|
plex_search:
|
|
all:
|
|
<<search_attribute>>: <<key>>
|
|
|
|
overlays:
|
|
|
|
german:
|
|
variables: {key: de, weight: 240}
|
|
template: [name: standard, name: flags]
|
|
|
|
english:
|
|
variables: {key: en, weight: 230, country: us}
|
|
template: [name: standard, name: flags]
|
|
|
|
french:
|
|
variables: {key: fr, weight: 220}
|
|
template: [name: standard, name: flags]
|
|
|
|
japanese:
|
|
variables: {key: ja, weight: 210, country: jp}
|
|
template: [name: standard, name: flags]
|
|
|
|
korean:
|
|
variables: {key: ko, weight: 200, country: kr}
|
|
template: [name: standard, name: flags]
|
|
|
|
chinese:
|
|
variables: {key: zh, weight: 190, country: cn}
|
|
template: [name: standard, name: flags]
|
|
|
|
danish:
|
|
variables: {key: da, weight: 180, country: dk}
|
|
template: [name: standard, name: flags]
|
|
|
|
russian:
|
|
variables: {key: ru, weight: 170}
|
|
template: [name: standard, name: flags]
|
|
|
|
spanish:
|
|
variables: {key: es, weight: 160}
|
|
template: [name: standard, name: flags]
|
|
|
|
italian:
|
|
variables: {key: it, weight: 150}
|
|
template: [name: standard, name: flags]
|
|
|
|
portuguese:
|
|
variables: {key: pt, weight: 140}
|
|
template: [name: standard, name: flags]
|
|
|
|
hindi:
|
|
variables: {key: hi, weight: 130, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
telugu:
|
|
variables: {key: te, weight: 120, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
farsi:
|
|
variables: {key: fa, weight: 110, country: ir}
|
|
template: [name: standard, name: flags]
|
|
|
|
thai:
|
|
variables: {key: th, weight: 100}
|
|
template: [name: standard, name: flags]
|
|
|
|
dutch:
|
|
variables: {key: nl, weight: 90}
|
|
template: [name: standard, name: flags]
|
|
|
|
norwegian:
|
|
variables: {key: no, weight: 80}
|
|
template: [name: standard, name: flags]
|
|
|
|
icelandic:
|
|
variables: {key: is, weight: 70}
|
|
template: [name: standard, name: flags]
|
|
|
|
swedish:
|
|
variables: {key: sv, weight: 60, country: se}
|
|
template: [name: standard, name: flags]
|
|
|
|
turkish:
|
|
variables: {key: tr, weight: 50}
|
|
template: [name: standard, name: flags]
|
|
|
|
polish:
|
|
variables: {key: pl, weight: 40}
|
|
template: [name: standard, name: flags]
|
|
|
|
czech:
|
|
variables: {key: cs, weight: 30, country: cz}
|
|
template: [name: standard, name: flags]
|
|
|
|
ukrainian:
|
|
variables: {key: uk, weight: 20, country: ua}
|
|
template: [name: standard, name: flags]
|
|
|
|
hungarian:
|
|
variables: {key: hu, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
# arabic: 26 possible countries -> https://en.wikipedia.org/wiki/List_of_countries_where_Arabic_is_an_official_language
|
|
# variables: {key: ar, weight: 10}
|
|
# template: [name: standard, name: flags]
|
|
|
|
bulgarian:
|
|
variables: {key: bg, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
bengali:
|
|
variables: {key: bn, weight: 10, country: bd}
|
|
template: [name: standard, name: flags]
|
|
|
|
bosnian:
|
|
variables: {key: bs, weight: 10, country: ba}
|
|
template: [name: standard, name: flags]
|
|
|
|
catalan:
|
|
variables: {key: ca, weight: 10, country: es}
|
|
template: [name: standard, name: flags]
|
|
|
|
welsh:
|
|
variables: {key: cy, weight: 10, country: uk}
|
|
template: [name: standard, name: flags]
|
|
|
|
greek:
|
|
variables: {key: el, weight: 10, country: gr}
|
|
template: [name: standard, name: flags]
|
|
|
|
estonian:
|
|
variables: {key: et, weight: 10, country: ee}
|
|
template: [name: standard, name: flags]
|
|
|
|
basque:
|
|
variables: {key: eu, weight: 10, country: es}
|
|
template: [name: standard, name: flags]
|
|
|
|
finnish:
|
|
variables: {key: fi, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
filipino:
|
|
variables: {key: fil, weight: 10, country: ph}
|
|
template: [name: standard, name: flags]
|
|
|
|
galician:
|
|
variables: {key: gl, weight: 10, country: es}
|
|
template: [name: standard, name: flags]
|
|
|
|
hebrew:
|
|
variables: {key: he, weight: 10, country: il}
|
|
template: [name: standard, name: flags]
|
|
|
|
croatian:
|
|
variables: {key: hr, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
indonesian:
|
|
variables: {key: id, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
georgian:
|
|
variables: {key: ka, weight: 10, country: ge}
|
|
template: [name: standard, name: flags]
|
|
|
|
kazakh:
|
|
variables: {key: kk, weight: 10, country: kz}
|
|
template: [name: standard, name: flags]
|
|
|
|
kannada:
|
|
variables: {key: kn, weight: 10, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
latin:
|
|
variables: {key: la, weight: 10, country: it}
|
|
template: [name: standard, name: flags]
|
|
|
|
lithuanian:
|
|
variables: {key: lt, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
latvian:
|
|
variables: {key: lv, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
macedonian:
|
|
variables: {key: mk, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
malayalam:
|
|
variables: {key: ml, weight: 10, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
marathi:
|
|
variables: {key: mr, weight: 10, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
# malay: possible countries: Brunei, Malaysia, Singapore
|
|
# variables: {key: ms, weight: 10}
|
|
# template: [name: standard, name: flags]
|
|
|
|
norwegian bokmål:
|
|
variables: {key: nb, weight: 10, country: no}
|
|
template: [name: standard, name: flags]
|
|
|
|
norwegian nynorsk:
|
|
variables: {key: nn, weight: 10, country: no}
|
|
template: [name: standard, name: flags]
|
|
|
|
punjabi:
|
|
variables: {key: pa, weight: 10, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
romanian:
|
|
variables: {key: ro, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
slovak:
|
|
variables: {key: sk, weight: 10}
|
|
template: [name: standard, name: flags]
|
|
|
|
slovenian:
|
|
variables: {key: sv, weight: 10, country: sl}
|
|
template: [name: standard, name: flags]
|
|
|
|
albanian:
|
|
variables: {key: sq, weight: 10, country: al}
|
|
template: [name: standard, name: flags]
|
|
|
|
serbian:
|
|
variables: {key: sr, weight: 10, country: rs}
|
|
template: [name: standard, name: flags]
|
|
|
|
# swahili: possible countries: Tanzania, Kenya, Rwanda, Uganda
|
|
# variables: {key: sw, weight: 10}
|
|
# template: [name: standard, name: flags]
|
|
|
|
tamil:
|
|
variables: {key: ta, weight: 10, country: in}
|
|
template: [name: standard, name: flags]
|
|
|
|
urdu:
|
|
variables: {key: ur, weight: 10, country: pk}
|
|
template: [name: standard, name: flags]
|
|
|
|
vietnamese:
|
|
variables: {key: vi, weight: 10, country: vn}
|
|
template: [name: standard, name: flags]
|