Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added makefile for maintaining translations as PO files #157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 2, 2019

  1. Added makefile for maintaining translations as PO files

    This makefile allow the web2py translations to be maintained as
    gettext po files to make easier for translators.
    
    These rules assume the en-us.py file is generated from source and
    contain every translatable string in the application.  It further
    ignore the default.py and plural-*.py files, because I do not know
    how to best handle them as po files.
    
    Too migrate once from py to po files, run this:
      make migrate oztree.pot pofiles clean
    
    To generate py files for use when building, run
      make
    
    To see translation status, run
      make stats
    
    You need a version of Translation Toolkit where
    translate/translate#3254 is fixed, for
    example the version from Debian.
    
    Related to issue OneZoom#138.
    petterreinholdtsen committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    fed16d5 View commit details
    Browse the repository at this point in the history