Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't overwrite I18n.locale (2.0) #79
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.