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

Update Chameleon Internationalization to comply with Pyramid narrative docs #115

Open
stevepiercy opened this issue May 21, 2014 · 3 comments

Comments

@stevepiercy
Copy link
Member

Update this:
http://pyramid-cookbook.readthedocs.org/en/latest/templates/chameleon_i18n.html

to be compliant with this:
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html#working-with-gettext-translation-files

Report in IRC:
"when I run the extract_messages command I get "ValueError: Unknown extraction method 'lingua_python'", if I try changing it to just 'python' I get the same error for 'lingua_xml'"

@wichert
Copy link
Member

wichert commented Mar 16, 2015

There are also several questions on stackoverflow related to this.

@J20S
Copy link

J20S commented Jul 13, 2015

I am still experiencing the same problem which is "ValueError: Unknown extraction method 'lingua_python".

I followed exactly the instructions provided in
http://pyramid-cookbook.readthedocs.org/en/latest/templates/chameleon_i18n.html.

At first, I get this error: "error: no output file specified". I then added a setup.cfg file to specify the output file (I notice that the setup.cfg is not mentioned at all in the latest documentation), then I got the above error.

Any help is greatly appreciated!

@stevepiercy
Copy link
Member Author

@J20S Do either of these SO answers help?
http://stackoverflow.com/a/30287865/2214933
http://stackoverflow.com/a/13471618/2214933

Maybe the Jinja2 example can be applied to Chameleon?

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

No branches or pull requests

3 participants