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

Don't overwrite I18n.locale (2.0) #79

Merged
merged 1 commit into from
Feb 9, 2015
Merged

Conversation

katafrakt
Copy link
Contributor

This is a followup to #59

The bug with overwriting I18n.locale is still present and a little annoying. This pull request goes a little further by setting locale only locally, during wikicloth rendering. This way I can force a wiki page to render in specific locale (for example when I want to check how would it look in specific language or when language is defined on a per-page basis) without changing the language of the rest of the application.

nricciar added a commit that referenced this pull request Feb 9, 2015
Don't overwrite I18n.locale (2.0)
@nricciar nricciar merged commit bef4522 into nricciar:master Feb 9, 2015
@katafrakt katafrakt deleted the i18n_scope branch February 10, 2015 09:15
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

Successfully merging this pull request may close these issues.

None yet

2 participants