Skip to content

Tool to translate files with .yml and .yaml extensions

License

Notifications You must be signed in to change notification settings

Norbit4/FileTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tool to translate files with .yml and .yaml extensions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published