Skip to content

Conversation

@Myshkouski
Copy link
Contributor

Localization files are often formatted with YAML.
This changes allows to use .yml and .yaml files in the same way as .json:

# Generates output files with the same extension as source file
╰─ ./bin/jsontt test/en.yml --from en --to de mk --translator bing                                                                                                                  ─╯
° Translating. Please wait. 0 of 2 translated. 
O Translating. Please wait. 0 of 2 translated. 
✔ DONE! 2 of 2 translated.
 All files are created! You can find them in the same folder as the original file. 
 For Macedonian --> /mk.yml created. 
 For German --> /de.yml created. 

@ParvinEyvazov
Copy link
Member

Hi @Myshkouski

Great! I will add this feature to the next version for just now making a stable version.

Thank you!

@ParvinEyvazov ParvinEyvazov merged commit cae4fc9 into mololab:master Nov 29, 2023
@ParvinEyvazov
Copy link
Member

Released on v1.10.0. Thank you for your contribution @Myshkouski :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants