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

Merged
merged 1 commit into from Feb 9, 2015

Conversation

Projects
None yet
2 participants
@katafrakt
Contributor

katafrakt commented Feb 8, 2015

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

Merge pull request #79 from katafrakt/i18n_scope
Don't overwrite I18n.locale (2.0)

@nricciar nricciar merged commit bef4522 into nricciar:master Feb 9, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@katafrakt katafrakt deleted the katafrakt:i18n_scope branch Feb 10, 2015

@wvengen wvengen referenced this pull request in foodcoops/foodsoft Feb 20, 2015

Closed

locale wrong in parts of wiki plugin views #217

@dependabot dependabot bot referenced this pull request in tnir/gitlabhq Mar 19, 2018

Open

Bump wikicloth from 0.8.1 to 0.8.3 #94

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