Skip to content

Tool to verify existence of translation strings using python gettext package

License

Notifications You must be signed in to change notification settings

da1910/pyCheckText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyCheckText

flake8 Tox

Requirements

  • Python 3.8
  • python-dateutil

Invocation

Run /scripts/checktext.py, arguments are as follows

  • --folder_path Path to a folder, check all python files within the folder
  • --file_path Path to a single python file which will be checked
  • --alias List of aliased function names, provide the alias and then the target.
    • Example: --alias _ gettext
  • --translation_path Path to the locale folder where translations are found. Follows python gettext.find conventions
  • --domain Name of translation domain. Follows python gettext.find convensions
  • --languages List of language codes to verify

About

Tool to verify existence of translation strings using python gettext package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published