name: Add a new language
about: Request a new language to be added
title: "Add language: <language>"
body:
  - type: markdown
    attributes:
      value: |
        Please fill out the issue title as well as the fields below!
  - type: input
    id: lang-name
    attributes:
      label: Language name
      description: The English name of the language
      placeholder: German
    validations:
      required: true
  - type: input
    id: lang-name-localised
    attributes:
      label: Localised language name
      description: The translated name of the language
      placeholder: Deutsch
    validations:
      required: true
  - type: input
    id: lang-code
    attributes:
      label: Language code
      description: Language code as used by Weblate
      placeholder: '"de" or "pt_BR"'
    validations:
      required: true
  - type: input
    id: lang-flag
    attributes:
      label: Flag emoji
      description: A country flag related to the language
      placeholder: "🇩🇪"
    validations:
      required: true
  - type: input
    id: weblate-user
    attributes:
      label: Weblate profile
      description: Please provide your Weblate username or a link to your profile.
      placeholder: "https://weblate.insrt.uk/user/lea/"
    validations:
      required: false
  - type: checkboxes
    id: add-as-maintainer
    attributes:
      label: Language maintainer
      description: |
        Only check this if you've made substantial contributions to Revolt's translations in this language or are already elected as language maintainer there.
        If you do, make sure to provide your Weblate profile above!
      options:
        - label: Add me as language maintainer
  - type: textarea
    id: additional-info
    attributes:
      label: Additional information
      placeholder: Is there anything else you would like us to know?