How to set locale with ""Martinique""?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

How to set locale with ""Martinique""?

Post by nervino »

Hi, I want news dates in italian but I can't get them. I'm using 1.10 "Martinique" and in previous versions of CMSMS, I was able to set the italian locale.

Any ideas? What I'm doing wrong (see info below )?

Thank you.


These are the settings I tried.

in config.php I have
$config['locale'] = 'it_IT.UTF-8';

I made a UDT named "set_lang_ita" to set the locale ( ;D ), and I put it in Site admin -> Global settings -> Global metadata.
Code of the UDT:

Code: Select all

setlocale (LC_ALL,"it_IT.UTF-8");
Site admin -> Global settings -> Global metadata -> Date Format String is: %d %B %Y
and Default language for the frontend = Italiano


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 25000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: THIS IS EMPTY, while I have set $config['locale'] = 'it_IT.UTF-8';
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Cms Version: 1.10

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.6
ModuleManager: 1.5
News: 2.12.2
FormBuilder: 0.7.1
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.4
CMSPrinting: 1.0
MicroTiny: 1.1
Gallery: 1.4.4
avplayer: 1.3.2
Captcha: 0.4.5
Printing: 1.1.2

Php Information:

phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 30M
upload_max_filesize: 25M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.92


----------------------------------------------
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to set locale with ""Martinique""?

Post by Dr.CSS »

Have you read the CMSMS_config_reference.pdf in [root]/doc folder?...

Good chance if you upgrade to next version you can set the locale during upgrade...
Post Reply

Return to “CMSMS Core”