Setting config.php to UK locale
Posted: Tue Nov 30, 2010 7:23 pm
On a site that I am developing I am having issues getting all of the site to recognise that it should be showing £ sterling. In the config.php file there is a line that allows you to set the locale setting:
Now as you can see I have set the locale to en-UK, but this does not appear to be working. I've searched the support documentation and forums both here and on my host but cannot find a list of valid locale settings. Is my setting correct, or how can I find out?
Code: Select all
#------------------------
#Locale/Encoding Settings
#------------------------
#Locale to use for various default date handling functions, etc. Leaving
#this blank will use the server's default. This might not be good if the
#site is hosted in a different country than it's intended audience.
$config['locale'] = 'en-UK';
#In almost all cases, default_encoding should be empty (which defaults to utf-8)
#and admin_encoding should be utf-8. If you'd like this to be different, change
#both. Keep in mind, however, that the admin interface translations are all in
#utf-8, and will be converted on the fly to match the admin_encoding. This
#could seriously slow down the admin interfaces for users.
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';