[4] update languages

pull/1168/head
meisnate12 2 years ago
parent 7f5ea4a578
commit d932f3bdbb

@ -1 +1 @@
1.18.0-develop3 1.18.0-develop4

@ -47,7 +47,6 @@ external_templates:
font: fonts/Inter-Bold.ttf font: fonts/Inter-Bold.ttf
font_size: 50 font_size: 50
final_name: text(<<final_text>>) final_name: text(<<final_text>>)
use_<<key>>: false
vars: vars:
top_left: &top_left {vertical_align: top, horizontal_align: left} top_left: &top_left {vertical_align: top, horizontal_align: left}
@ -270,13 +269,23 @@ queues:
templates: templates:
flags: flags:
default:
use_<<key>>: <<use>>
languages: ["en", "de", "fr", "es", "pt", "ja"]
conditionals: conditionals:
use:
default: false
conditions:
- key: <<languages>>
value: true
search_attribute: search_attribute:
default: audio_language default: audio_language
conditions: conditions:
- use_subtitles: true - use_subtitles: true
value: subtitle_language value: subtitle_language
ignore_blank_results: true ignore_blank_results: true
allowed_library_types:
- <<use_<<key>>>>
plex_search: plex_search:
all: all:
<<search_attribute>>: <<key>> <<search_attribute>>: <<key>>
@ -284,245 +293,245 @@ templates:
overlays: overlays:
english: english:
variables: {key: en, text: EN, weight: 610, country: us, use_<<key>>: true} variables: {key: en, text: EN, weight: 610, country: us}
template: [name: standard, name: flags] template: [name: flags, name: standard]
german: german:
variables: {key: de, text: DE, weight: 600, use_<<key>>: true} variables: {key: de, text: DE, weight: 600}
template: [name: standard, name: flags] template: [name: flags, name: standard]
french: french:
variables: {key: fr, text: FR, weight: 590, use_<<key>>: true} variables: {key: fr, text: FR, weight: 590}
template: [name: standard, name: flags] template: [name: flags, name: standard]
spanish: spanish:
variables: {key: es, text: ES, weight: 580, use_<<key>>: true} variables: {key: es, text: ES, weight: 580}
template: [name: standard, name: flags] template: [name: flags, name: standard]
portuguese: portuguese:
variables: {key: pt, text: PT, weight: 570, use_<<key>>: true} variables: {key: pt, text: PT, weight: 570}
template: [name: standard, name: flags] template: [name: flags, name: standard]
japanese: japanese:
variables: {key: ja, text: JA, weight: 560, country: jp, use_<<key>>: true} variables: {key: ja, text: JA, weight: 560, country: jp}
template: [name: standard, name: flags] template: [name: flags, name: standard]
korean: korean:
variables: {key: ko, text: KO, weight: 550, country: kr} variables: {key: ko, text: KO, weight: 550, country: kr}
template: [name: standard, name: flags] template: [name: flags, name: standard]
chinese: chinese:
variables: {key: zh, text: ZH, weight: 540, country: cn} variables: {key: zh, text: ZH, weight: 540, country: cn}
template: [name: standard, name: flags] template: [name: flags, name: standard]
danish: danish:
variables: {key: da, text: DA, weight: 530, country: dk} variables: {key: da, text: DA, weight: 530, country: dk}
template: [name: standard, name: flags] template: [name: flags, name: standard]
russian: russian:
variables: {key: ru, text: RU, weight: 520} variables: {key: ru, text: RU, weight: 520}
template: [name: standard, name: flags] template: [name: flags, name: standard]
italian: italian:
variables: {key: it, text: IT, weight: 510} variables: {key: it, text: IT, weight: 510}
template: [name: standard, name: flags] template: [name: flags, name: standard]
hindi: hindi:
variables: {key: hi, text: HI, weight: 500, country: in} variables: {key: hi, text: HI, weight: 500, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
telugu: telugu:
variables: {key: te, text: TE, weight: 490, country: in} variables: {key: te, text: TE, weight: 490, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
farsi: farsi:
variables: {key: fa, text: FA, weight: 480, country: ir} variables: {key: fa, text: FA, weight: 480, country: ir}
template: [name: standard, name: flags] template: [name: flags, name: standard]
thai: thai:
variables: {key: th, text: TH, weight: 470} variables: {key: th, text: TH, weight: 470}
template: [name: standard, name: flags] template: [name: flags, name: standard]
dutch: dutch:
variables: {key: nl, text: NL, weight: 460} variables: {key: nl, text: NL, weight: 460}
template: [name: standard, name: flags] template: [name: flags, name: standard]
norwegian: norwegian:
variables: {key: no, text: NO, weight: 450} variables: {key: no, text: NO, weight: 450}
template: [name: standard, name: flags] template: [name: flags, name: standard]
icelandic: icelandic:
variables: {key: is, text: IS, weight: 440} variables: {key: is, text: IS, weight: 440}
template: [name: standard, name: flags] template: [name: flags, name: standard]
swedish: swedish:
variables: {key: sv, text: SV, weight: 430, country: se} variables: {key: sv, text: SV, weight: 430, country: se}
template: [name: standard, name: flags] template: [name: flags, name: standard]
turkish: turkish:
variables: {key: tr, text: TR, weight: 420} variables: {key: tr, text: TR, weight: 420}
template: [name: standard, name: flags] template: [name: flags, name: standard]
polish: polish:
variables: {key: pl, text: PL, weight: 410} variables: {key: pl, text: PL, weight: 410}
template: [name: standard, name: flags] template: [name: flags, name: standard]
czech: czech:
variables: {key: cs, text: CS, weight: 400, country: cz} variables: {key: cs, text: CS, weight: 400, country: cz}
template: [name: standard, name: flags] template: [name: flags, name: standard]
ukrainian: ukrainian:
variables: {key: uk, text: UK, weight: 390, country: ua} variables: {key: uk, text: UK, weight: 390, country: ua}
template: [name: standard, name: flags] template: [name: flags, name: standard]
hungarian: hungarian:
variables: {key: hu, text: HU, weight: 380} variables: {key: hu, text: HU, weight: 380}
template: [name: standard, name: flags] template: [name: flags, name: standard]
arabic: arabic:
variables: {key: ar, text: AR, weight: 370, country: eg} variables: {key: ar, text: AR, weight: 370, country: eg}
template: [name: standard, name: flags] template: [name: flags, name: standard]
bulgarian: bulgarian:
variables: {key: bg, text: BG, weight: 360} variables: {key: bg, text: BG, weight: 360}
template: [name: standard, name: flags] template: [name: flags, name: standard]
bengali: bengali:
variables: {key: bn, text: BN, weight: 350, country: bd} variables: {key: bn, text: BN, weight: 350, country: bd}
template: [name: standard, name: flags] template: [name: flags, name: standard]
bosnian: bosnian:
variables: {key: bs, text: BS, weight: 340, country: ba} variables: {key: bs, text: BS, weight: 340, country: ba}
template: [name: standard, name: flags] template: [name: flags, name: standard]
catalan: catalan:
variables: {key: ca, text: CA, weight: 330, country: es} variables: {key: ca, text: CA, weight: 330, country: es}
template: [name: standard, name: flags] template: [name: flags, name: standard]
welsh: welsh:
variables: {key: cy, text: CY, weight: 320, country: uk} variables: {key: cy, text: CY, weight: 320, country: uk}
template: [name: standard, name: flags] template: [name: flags, name: standard]
greek: greek:
variables: {key: el, text: EL, weight: 310, country: gr} variables: {key: el, text: EL, weight: 310, country: gr}
template: [name: standard, name: flags] template: [name: flags, name: standard]
estonian: estonian:
variables: {key: et, text: ET, weight: 300, country: ee} variables: {key: et, text: ET, weight: 300, country: ee}
template: [name: standard, name: flags] template: [name: flags, name: standard]
basque: basque:
variables: {key: eu, text: EU, weight: 290, country: es} variables: {key: eu, text: EU, weight: 290, country: es}
template: [name: standard, name: flags] template: [name: flags, name: standard]
finnish: finnish:
variables: {key: fi, text: FI, weight: 280} variables: {key: fi, text: FI, weight: 280}
template: [name: standard, name: flags] template: [name: flags, name: standard]
filipino: filipino:
variables: {key: fl, text: FL, weight: 270, country: ph} variables: {key: fl, text: FL, weight: 270, country: ph}
template: [name: standard, name: flags] template: [name: flags, name: standard]
galician: galician:
variables: {key: gl, text: GL, weight: 260, country: es} variables: {key: gl, text: GL, weight: 260, country: es}
template: [name: standard, name: flags] template: [name: flags, name: standard]
hebrew: hebrew:
variables: {key: he, text: HE, weight: 250, country: il} variables: {key: he, text: HE, weight: 250, country: il}
template: [name: standard, name: flags] template: [name: flags, name: standard]
croatian: croatian:
variables: {key: hr, text: HR, weight: 240} variables: {key: hr, text: HR, weight: 240}
template: [name: standard, name: flags] template: [name: flags, name: standard]
indonesian: indonesian:
variables: {key: id, text: ID, weight: 230} variables: {key: id, text: ID, weight: 230}
template: [name: standard, name: flags] template: [name: flags, name: standard]
georgian: georgian:
variables: {key: ka, text: KA, weight: 220, country: ge} variables: {key: ka, text: KA, weight: 220, country: ge}
template: [name: standard, name: flags] template: [name: flags, name: standard]
kazakh: kazakh:
variables: {key: kk, text: KK, weight: 210, country: kz} variables: {key: kk, text: KK, weight: 210, country: kz}
template: [name: standard, name: flags] template: [name: flags, name: standard]
kannada: kannada:
variables: {key: kn, text: KN, weight: 200, country: in} variables: {key: kn, text: KN, weight: 200, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
latin: latin:
variables: {key: la, text: LA, weight: 190, country: it} variables: {key: la, text: LA, weight: 190, country: it}
template: [name: standard, name: flags] template: [name: flags, name: standard]
lithuanian: lithuanian:
variables: {key: lt, text: LT, weight: 180} variables: {key: lt, text: LT, weight: 180}
template: [name: standard, name: flags] template: [name: flags, name: standard]
latvian: latvian:
variables: {key: lv, text: LV, weight: 170} variables: {key: lv, text: LV, weight: 170}
template: [name: standard, name: flags] template: [name: flags, name: standard]
macedonian: macedonian:
variables: {key: mk, text: MK, weight: 160} variables: {key: mk, text: MK, weight: 160}
template: [name: standard, name: flags] template: [name: flags, name: standard]
malayalam: malayalam:
variables: {key: ml, text: ML, weight: 150, country: in} variables: {key: ml, text: ML, weight: 150, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
marathi: marathi:
variables: {key: mr, text: MR, weight: 140, country: in} variables: {key: mr, text: MR, weight: 140, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
malay: malay:
variables: {key: ms, text: MS, weight: 130, country: my} variables: {key: ms, text: MS, weight: 130, country: my}
template: [name: standard, name: flags] template: [name: flags, name: standard]
norwegian bokmål: norwegian bokmål:
variables: {key: nb, text: NB, weight: 120, country: no} variables: {key: nb, text: NB, weight: 120, country: no}
template: [name: standard, name: flags] template: [name: flags, name: standard]
norwegian nynorsk: norwegian nynorsk:
variables: {key: nn, text: NN, weight: 110, country: no} variables: {key: nn, text: NN, weight: 110, country: no}
template: [name: standard, name: flags] template: [name: flags, name: standard]
punjabi: punjabi:
variables: {key: pa, text: PA, weight: 100, country: in} variables: {key: pa, text: PA, weight: 100, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
romanian: romanian:
variables: {key: ro, text: RO, weight: 90} variables: {key: ro, text: RO, weight: 90}
template: [name: standard, name: flags] template: [name: flags, name: standard]
slovak: slovak:
variables: {key: sk, text: SK, weight: 80} variables: {key: sk, text: SK, weight: 80}
template: [name: standard, name: flags] template: [name: flags, name: standard]
slovenian: slovenian:
variables: {key: sv, text: SV, weight: 70, country: si} variables: {key: sv, text: SV, weight: 70, country: si}
template: [name: standard, name: flags] template: [name: flags, name: standard]
albanian: albanian:
variables: {key: sq, text: SQ, weight: 60, country: al} variables: {key: sq, text: SQ, weight: 60, country: al}
template: [name: standard, name: flags] template: [name: flags, name: standard]
serbian: serbian:
variables: {key: sr, text: SR, weight: 50, country: rs} variables: {key: sr, text: SR, weight: 50, country: rs}
template: [name: standard, name: flags] template: [name: flags, name: standard]
swahili: swahili:
variables: {key: sw, text: SW, weight: 40, country: tz} variables: {key: sw, text: SW, weight: 40, country: tz}
template: [name: standard, name: flags] template: [name: flags, name: standard]
tamil: tamil:
variables: {key: ta, text: TA, weight: 30, country: in} variables: {key: ta, text: TA, weight: 30, country: in}
template: [name: standard, name: flags] template: [name: flags, name: standard]
urdu: urdu:
variables: {key: ur, text: UR, weight: 20, country: pk} variables: {key: ur, text: UR, weight: 20, country: pk}
template: [name: standard, name: flags] template: [name: flags, name: standard]
vietnamese: vietnamese:
variables: {key: vi, text: VI, weight: 10, country: vn} variables: {key: vi, text: VI, weight: 10, country: vn}
template: [name: standard, name: flags] template: [name: flags, name: standard]

@ -130,6 +130,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values | | Variable | Description & Values |
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `languages` | **Description:** Controls which Languages will be active.<br>**Default:** `["en", "de", "fr", "es", "pt", "ja"]` <br>**Values:** List of [ISO 639-1 Codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) for the Languages desired |
| `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language | | `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` | | `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `horizontal_position` | **Description:** Choose the horizontal position for the flag group.<br>**Default:** `left`<br>**Values:** `left`, `left2`, `center`, `center_left`, `center_right`, `right` or `right2` | | `horizontal_position` | **Description:** Choose the horizontal position for the flag group.<br>**Default:** `left`<br>**Values:** `left`, `left2`, `center`, `center_left`, `center_right`, `right` or `right2` |
@ -154,6 +155,9 @@ libraries:
overlay_path: overlay_path:
- pmm: languages - pmm: languages
template_variables: template_variables:
languages:
- en
- ja
use_subtitles: true use_subtitles: true
style: square style: square
``` ```

Loading…
Cancel
Save