mdzidic / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Ability to set default language #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello Pal.

Very good the new version of OVZ Panel, congratulations.

Please, how to set defaul language to Portgues do Brasil ? how file I have Edit 
?

Thanks all.

Original issue reported on code.google.com by byteinfo...@hotmail.com on 31 Jul 2010 at 8:33

GoogleCodeExporter commented 9 years ago
Right now it's possible to set language as default, if you add the following 
line to the end of file /opt/ovz-web-panel/config/environments/production.rb :
config.i18n.default_locale = :pt_BR
Then need to restart the panel using command: /etc/init.d/owp restart

But this will work only till next upgrade. I'll add proper support of default 
language changing via main config file (which isn't touched during upgrade 
procedure).

Original comment by sibprogrammer on 1 Aug 2010 at 3:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r683.

Original comment by sibprogrammer on 4 Aug 2010 at 3:36