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

Add easy way to disable translation #4

Open
foxbunny opened this issue Sep 22, 2014 · 1 comment
Open

Add easy way to disable translation #4

foxbunny opened this issue Sep 22, 2014 · 1 comment

Comments

@foxbunny
Copy link
Contributor

There should be a switch or function that swaps lazy versions of gettext functions with dummy version.

@zrudzionis
Copy link

I was using bottle_utils.form that used translations. My workaround was:

import bottle_utils.i18n
delattr(bottle_utils.i18n, 'lazy_gettext')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants