I add the following sentence to config.php in order to disable all non-English languages, but it does not work. $config['site']['languages'] = array( 'en-us' => array('q' => 1, 'lang' => 'en', 'name' => 'English (US)', 'direction' => 'ltr'), 'en-gb' => array('q' => 1, 'lang' => 'en_GB', 'name' => 'English (British)', 'direction' => 'ltr'), 'en' => array('q' => 1, 'lang' => 'en', 'name' => 'English (US)', 'direction' => 'ltr'), ); My StatusNet is 0.9.6. The web server is XAMPP 1.7.3. The borwser is Firefox 3.6.2.
@OnlyBlue you might need to compile the language files by running "make" in the locale folder. I'm not sure how supported it is in Windows, but I found this version of GCC make for Windows http://gnuwin32.sourceforge.net/packages/make.htm
You should try to find a Linux box to host on, it will be much easier ;-)
@jordanc I install the GnuWin32 and run "make" in locale folder. The result is:
D:\xampp\htdocs\statusnet\locale>make msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_MESSAGES/statusnet.po process_begin: CreateProcess(NULL, msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_M ESSAGES/statusnet.po, ...) failed. make (e=2): The system cannot find the file specified. make: *** [en/LC_MESSAGES/statusnet.mo] Error 2
I install the MinGW and run "mingw32-make" in locale folder. The result is: D:\xampp\htdocs\statusnet\locale>mingw32-make msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_MESSAGES/statusnet.po process_begin: CreateProcess(NULL, msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_M ESSAGES/statusnet.po, ...) failed. make (e=2): mingw32-make: *** [en/LC_MESSAGES/statusnet.mo] Error 2
Comments
$config['site']['languages'] = array('en-us' => array('q' => 1, 'lang' => 'en', 'name' => 'English (US)', 'direction' => 'ltr'),
'en-gb' => array('q' => 1, 'lang' => 'en_GB', 'name' => 'English (British)', 'direction' => 'ltr'),
'en' => array('q' => 1, 'lang' => 'en', 'name' => 'English (US)', 'direction' => 'ltr'),
);
My StatusNet is 0.9.6. The web server is XAMPP 1.7.3. The borwser is Firefox 3.6.2.
You should try to find a Linux box to host on, it will be much easier ;-)
I install the GnuWin32 and run "make" in locale folder. The result is:
D:\xampp\htdocs\statusnet\locale>make
msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_MESSAGES/statusnet.po
process_begin: CreateProcess(NULL, msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_M
ESSAGES/statusnet.po, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [en/LC_MESSAGES/statusnet.mo] Error 2
I install the MinGW and run "mingw32-make" in locale folder. The result is:
D:\xampp\htdocs\statusnet\locale>mingw32-make
msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_MESSAGES/statusnet.po
process_begin: CreateProcess(NULL, msgfmt -o en/LC_MESSAGES/statusnet.mo en/LC_M
ESSAGES/statusnet.po, ...) failed.
make (e=2):
mingw32-make: *** [en/LC_MESSAGES/statusnet.mo] Error 2
Yes, Windows make me work so hard.