Set default locale (language)

Global

Write on config/local.rb
Noosfero.default_locale = 'pt'
FastGettext.locale = Noosfero.default_locale
I18n.locale = Noosfero.default_locale

Per environment

On noosfero console, run:
e=Environment.default
e.default_language = 'pt'
e.save!

Add comment
You need to login to be able to comment.
 
Topic revision: r2 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2018 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres