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.
Plex-Meta-Manager/defaults/overlays/language.yml

320 lines
8.2 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: 610}
template: [name: standard, name: flags]
english:
variables: {key: en, weight: 600, country: us}
template: [name: standard, name: flags]
french:
variables: {key: fr, weight: 590}
template: [name: standard, name: flags]
japanese:
variables: {key: ja, weight: 580, country: jp}
template: [name: standard, name: flags]
korean:
variables: {key: ko, weight: 570, country: kr}
template: [name: standard, name: flags]
chinese:
variables: {key: zh, weight: 560, country: cn}
template: [name: standard, name: flags]
danish:
variables: {key: da, weight: 550, country: dk}
template: [name: standard, name: flags]
russian:
variables: {key: ru, weight: 540}
template: [name: standard, name: flags]
spanish:
variables: {key: es, weight: 530}
template: [name: standard, name: flags]
italian:
variables: {key: it, weight: 520}
template: [name: standard, name: flags]
portuguese:
variables: {key: pt, weight: 510}
template: [name: standard, name: flags]
hindi:
variables: {key: hi, weight: 500, country: in}
template: [name: standard, name: flags]
telugu:
variables: {key: te, weight: 490, country: in}
template: [name: standard, name: flags]
farsi:
variables: {key: fa, weight: 480, country: ir}
template: [name: standard, name: flags]
thai:
variables: {key: th, weight: 470}
template: [name: standard, name: flags]
dutch:
variables: {key: nl, weight: 460}
template: [name: standard, name: flags]
norwegian:
variables: {key: no, weight: 450}
template: [name: standard, name: flags]
icelandic:
variables: {key: is, weight: 440}
template: [name: standard, name: flags]
swedish:
variables: {key: sv, weight: 430, country: se}
template: [name: standard, name: flags]
turkish:
variables: {key: tr, weight: 420}
template: [name: standard, name: flags]
polish:
variables: {key: pl, weight: 410}
template: [name: standard, name: flags]
czech:
variables: {key: cs, weight: 400, country: cz}
template: [name: standard, name: flags]
ukrainian:
variables: {key: uk, weight: 390, country: ua}
template: [name: standard, name: flags]
hungarian:
variables: {key: hu, weight: 380}
template: [name: standard, name: flags]
arabic:
variables: {key: ar, weight: 370, country: eg}
template: [name: standard, name: flags]
bulgarian:
variables: {key: bg, weight: 360}
template: [name: standard, name: flags]
bengali:
variables: {key: bn, weight: 350, country: bd}
template: [name: standard, name: flags]
bosnian:
variables: {key: bs, weight: 340, country: ba}
template: [name: standard, name: flags]
catalan:
variables: {key: ca, weight: 330, country: es}
template: [name: standard, name: flags]
welsh:
variables: {key: cy, weight: 320, country: uk}
template: [name: standard, name: flags]
greek:
variables: {key: el, weight: 310, country: gr}
template: [name: standard, name: flags]
estonian:
variables: {key: et, weight: 300, country: ee}
template: [name: standard, name: flags]
basque:
variables: {key: eu, weight: 290, country: es}
template: [name: standard, name: flags]
finnish:
variables: {key: fi, weight: 280}
template: [name: standard, name: flags]
filipino:
variables: {key: fil, weight: 270, country: ph}
template: [name: standard, name: flags]
galician:
variables: {key: gl, weight: 260, country: es}
template: [name: standard, name: flags]
hebrew:
variables: {key: he, weight: 250, country: il}
template: [name: standard, name: flags]
croatian:
variables: {key: hr, weight: 240}
template: [name: standard, name: flags]
indonesian:
variables: {key: id, weight: 230}
template: [name: standard, name: flags]
georgian:
variables: {key: ka, weight: 220, country: ge}
template: [name: standard, name: flags]
kazakh:
variables: {key: kk, weight: 210, country: kz}
template: [name: standard, name: flags]
kannada:
variables: {key: kn, weight: 200, country: in}
template: [name: standard, name: flags]
latin:
variables: {key: la, weight: 190, country: it}
template: [name: standard, name: flags]
lithuanian:
variables: {key: lt, weight: 180}
template: [name: standard, name: flags]
latvian:
variables: {key: lv, weight: 170}
template: [name: standard, name: flags]
macedonian:
variables: {key: mk, weight: 160}
template: [name: standard, name: flags]
malayalam:
variables: {key: ml, weight: 150, country: in}
template: [name: standard, name: flags]
marathi:
variables: {key: mr, weight: 140, country: in}
template: [name: standard, name: flags]
malay:
variables: {key: ms, weight: 130, country: my}
template: [name: standard, name: flags]
norwegian bokmål:
variables: {key: nb, weight: 120, country: no}
template: [name: standard, name: flags]
norwegian nynorsk:
variables: {key: nn, weight: 110, country: no}
template: [name: standard, name: flags]
punjabi:
variables: {key: pa, weight: 100, country: in}
template: [name: standard, name: flags]
romanian:
variables: {key: ro, weight: 90}
template: [name: standard, name: flags]
slovak:
variables: {key: sk, weight: 80}
template: [name: standard, name: flags]
slovenian:
variables: {key: sv, weight: 70, country: si}
template: [name: standard, name: flags]
albanian:
variables: {key: sq, weight: 60, country: al}
template: [name: standard, name: flags]
serbian:
variables: {key: sr, weight: 50, country: rs}
template: [name: standard, name: flags]
swahili:
variables: {key: sw, weight: 40, country: tz}
template: [name: standard, name: flags]
tamil:
variables: {key: ta, weight: 30, country: in}
template: [name: standard, name: flags]
urdu:
variables: {key: ur, weight: 20, country: pk}
template: [name: standard, name: flags]
vietnamese:
variables: {key: vi, weight: 10, country: vn}
template: [name: standard, name: flags]