Skip to content

Latest commit

 

History

History
117 lines (83 loc) · 2.94 KB

README.md

File metadata and controls

117 lines (83 loc) · 2.94 KB

File Translator

Codacy Badge

The File Translator project is a tool created to translate files with .yml and .yaml extensions. The main function of app is to translate the values contained in these files, leaving the keys unchanged. This means that the structure of the file remains unchanged, and only the content is modified.

input:

key1: value1
key2: value2

output:

key1: translated_value1
key2: translated_value2
Used Languages and Tools:

Table of contents

Run

  1. Clone repository
git clone https://github.com/Norbit4/FileTranslator
  1. Create account and get free DeepL token

  2. Copy DeepL token and paste it to docker-compose.yml

  3. Start app

docker-compose up

App view

view-1

view-2

Example usage

input (EN):

offer-command:
  no-permission: '&cYou do not have access to this command!'
  wrong-price: '&cThe price variable is invalid!'
  wrong-item: '&cYou can not offer this item!'
  success: '&aYou have successfully offered this item!'

market-gui:
  previous-page-icon:
    name: '&f&lPrevious Page'
    lore:
      - ''
      - '&eClick to browse!'
  next-page-icon:
    name: '&f&lNext Page'
    lore:
      - ''
      - '&eClick to browse!'

output (PL):

offer-command:
  no-permission: '&cNie masz dostępu do tego polecenia!'
  wrong-price: '&cZmienna ceny jest nieprawidłowa!'
  wrong-item: '&cNie możesz zaoferować tego przedmiotu!'
  success: '&aPomyślnie zaoferowałeś ten przedmiot!'
market-gui:
  previous-page-icon:
    name: '&f&lPoprzednia strona'
    lore:
    - ''
    - '&eKliknij, aby przeglądać!'
  next-page-icon:
    name: '&f&lNastępna strona'
    lore:
    - ''
    - '&eKliknij, aby przeglądać!'

Tests

tests