HelpTransl8 is a tool for document translators.
The main problem when documentation is translated is maintenance. The original documentation (often in english) evolves. So how do we locate between the version we translated and the latest version?
HelpTransl8 is an answer to this question: each file of the original documentation is kept in a hidden file with the same name. Thus, when updating HelpTransl8 compares the new file with the old one. If the new file is different then it replaces the hidden file and informs the user in a TODO list. If the file does not exist, it is created with its original version!
git clone https://github.com/papilip/helptransl8.git && cd helptransl8
crystal build src/helptransl8.cr --releasehelptransl8 --init=https://url_original_repository
helptransl8 --check
cat TODO_helptransl8.yml-
helptransl8 -c | --checkCheck each file with the original repository. -
helptransl8 -h | --helpShow help with all commands. -
helptransl8 -i | --init=url_du_depot_originalGenerates the helptransl8.yml file with original repository url. -
helptransl8 -p | --printPrint URL from original repository. -
helptransl8 -v | --versionShows the program version.
-
CRYSTAL_ENV=devel|development|test ./helptransl8Using the program by initializing the environment. -
Tests are missing!
Pull Requests welcome !
-
Philippe Nénert (@papilip) - Creator, maintainer