how can i change the default_locale to show other language instead of english

28 views
Skip to first unread message

配配西

unread,
May 31, 2014, 11:23:07 PM5/31/14
to canvas-l...@googlegroups.com

hi all

i just modify /console/config/environment.rb and /s/config/environment.rb change # config.i18n.default_locale = :de to config.i18n.default_locale = 'zh' and i add config.i18n.default_locale = 'zh' in /config/application.rb

after all these modifications, and i restart the server but find that the web page still show english but not chinese

so i write the command rake i18n:check reference this wiki but it still not work

any one can tell me how can i change the default language of canvas-lms?

now i use ruby 1.9.3 and rails 2.3.18

Regis Millet

unread,
Jun 2, 2014, 9:36:39 AM6/2/14
to canvas-l...@googlegroups.com
Hi,

Normally you can set the language at the "account level" (admin site account) and it will be the default language of the application. 
Reply all
Reply to author
Forward
0 new messages