View Full Version : localization not working
dworelizy
13-12-07, 07:11 PM
Hi,
I've problems with setting my localization to polish.
1. polish language pack saved in the 'locales' directory
2. the login window appears correctly in polish
3. but after login dP remains in english, though
a) host locale in System Configuration is set to pl
b) Default User Preferences locale is set to polish
Any ideas?
regards
robert
ajdonnison
13-12-07, 09:19 PM
Check that the language pack supports version 2.x. Make sure there is a lang.php file and that it contains at least one $LANGUAGES entry.
dworelizy
13-12-07, 10:51 PM
I've installed the 'Polish Translation - 2.x compatible' pack
the lang.php file contains following entries:
$dir = basename(dirname(__FILE__));
$LANGUAGES['pl_PL'] = array ( $dir, 'Polish', 'Polski', 'plk');
any ideas?
thanks in advance
dworelizy
13-12-07, 11:43 PM
It's interesting..
For old users (users created before installing the language pack) I can not change the language.. But for every new user (created after installing the language pack) the system chooses the language according to configuration / settings.
regards
ajdonnison
14-12-07, 07:59 AM
If you have access to an SQL command line or utility like phpMyAdmin, try the following:
DELETE FROM user_preferences WHERE pref_user <> 0 AND pref_name = 'LOCALE';
This will remove any previous preference for language and allow them to drop back to the system default.
dworelizy
16-12-07, 08:20 AM
Thank you for your help;)
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.