{ "info": { "author": "Craig Silverstein", "author_email": "csilvers+i18nize_templates@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Internationalization", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "i18nize-templates\n=================\n\nA tool to automatically add i18n markup to jinja2 and handlebars\ntemplates. It may also work for django, though this is not tested.\n\nThis is part of a process to make a non-i18n-aware jinja2 or\nhandlebars file i18n-aware. i18n-ness support is mostly a matter of\nmarking natural-language text in the file that needs to be translated.\nWhile some complicated natural language constructs (like plurals)\nrequire a bit more work, the simple case is very simple: replace\n\n
Hello world
\n\nwith\n\n{{ _(\"Hello world\") }}
\n\nThis script helps with that process.\n\n\nUse\n---\n i18nize_templates