files:
  - source: /occurrence-mail/src/main/resources/email/subjects/*.properties
    ignore:
      - /occurrence-mail/src/main/resources/email/subjects/*_??.properties
    translation: /occurrence-mail/src/main/resources/email/subjects/%file_name%_%two_letters_code%.properties
  - source: /occurrence-mail/src/main/resources/email/*.properties
    ignore:
      - /occurrence-mail/src/main/resources/email/*_??.properties
    translation: /occurrence-mail/src/main/resources/email/%file_name%_%two_letters_code%.properties
  - source: /occurrence-mail/src/main/resources/email/templates/*.ftl
    ignore:
      - /occurrence-mail/src/main/resources/email/templates/*_??.ftl
    translation: /occurrence-mail/src/main/resources/email/templates/%file_name%_%two_letters_code%.ftl
    dest: /occurrence-mail/src/main/resources/email/templates/%file_name%.html
    type: html

files:
  - source: /occurrence-mail/src/main/resources/email/subjects/*.properties
    ignore:
      - /occurrence-mail/src/main/resources/email/subjects/*_??.properties
    translation: /occurrence-mail/src/main/resources/email/subjects/%file_name%_%two_letters_code%.properties
    languages_mapping:
      two_letters_code:
        niu-NU: niu
        pis-SB: pis
        tkl-TK: tkl
        tvl-TV: tvl
        zh-TW: zh-TW
  - source: /occurrence-mail/src/main/resources/email/*.properties
    ignore:
      - /occurrence-mail/src/main/resources/email/*_??.properties
    translation: /occurrence-mail/src/main/resources/email/%file_name%_%two_letters_code%.properties
    languages_mapping:
      two_letters_code:
        niu-NU: niu
        pis-SB: pis
        tkl-TK: tkl
        tvl-TV: tvl
        zh-TW: zh-TW
  - source: /occurrence-mail/src/main/resources/email/templates/*.ftl
    ignore:
      - /occurrence-mail/src/main/resources/email/templates/*_??.ftl
    translation: /occurrence-mail/src/main/resources/email/templates/%file_name%_%two_letters_code%.ftl
    dest: /occurrence-mail/src/main/resources/email/templates/%file_name%.html
    type: html
    languages_mapping:
      two_letters_code:
        niu-NU: niu
        pis-SB: pis
        tkl-TK: tkl
        tvl-TV: tvl
        zh-TW: zh-TW

Make language mapping explicit, rather than storing only in Crowdin.
Make language mapping explicit, rather than storing only in Crowdin.
