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

Language Change not taking effect #18

Closed
wtownley opened this issue Dec 13, 2013 · 6 comments
Closed

Language Change not taking effect #18

wtownley opened this issue Dec 13, 2013 · 6 comments
Assignees
Milestone

Comments

@wtownley
Copy link

I changed the language in the config but it does not seem to work.

from config.php
'sitelang' => 'en_US',

from site
13 2013-12-13 14:04:48 Inicio sesión (MySQL) ADMIN Usuario: Admin
Perfil: 1
Grupo: 1

image

I have restarted apache and tried reconfiguring the who app without change.

@nuxsmin
Copy link
Owner

nuxsmin commented Dec 15, 2013

Hi, if the application is running on a linux environment, it could be that en_US locale isn't installed. On debian based systems you can issue that with the command dpkg-reconfigure locales and then restart apache.

@ghost ghost assigned nuxsmin Dec 15, 2013
@nuxsmin nuxsmin closed this as completed Jan 1, 2014
@ebcont-can
Copy link

Same problem here. Changed language to en_US and restarted apache but site is still in Spanish

Running ubuntu

dpkg-reconfigure locales
Generating locales...
en_AG.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_HK.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NG.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZM.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date

@ebcont-can
Copy link

solved - what do I learn? en_US is not the same as en_US.UTF-8

solution on ubuntu:

locale-gen en_US
Generating locales...
en_US.ISO-8859-1... done
Generation complete.

locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US
en_US.iso88591
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX

apache2 restart

@nuxsmin
Copy link
Owner

nuxsmin commented Feb 6, 2014

Great!!, I was doing now some investigation about it, but it's strange that it is requiring ISO-8859-1, because translations are compiled in UTF-8.

In next release I will do a turn at this point.

@ebcont-can
Copy link

thank you for your feedback!

@nuxsmin
Copy link
Owner

nuxsmin commented Feb 6, 2014

You're welcome!

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

3 participants