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

Localisation guide differs from example included in Padrino #937

Closed
Quintus opened this issue Sep 28, 2012 · 1 comment
Closed

Localisation guide differs from example included in Padrino #937

Quintus opened this issue Sep 28, 2012 · 1 comment
Milestone

Comments

@Quintus
Copy link

Quintus commented Sep 28, 2012

At http://www.padrinorb.com/guides/localization, setting up I18n is recommended like this:

# config/boot.rb
Padrino.before_load do
  I18n.locale = :de
end

However, in config/boot.rb already is this code:

# ## Configure your I18n
#
I18n.default_locale = :en

I.e. without the before_load block. Given it works fine without the block, the guide should be corrected.

Valete,
Quintus

@dariocravero
Copy link

I reckon it is updated but it hasn't been published yet. See https://github.com/padrino/padrino-docs/blob/master/guides/localization.textile#how-to-localize-your-app

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

2 participants