MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Understanding "Out-of-the-box" Localization - Help needed

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> Eventum General Discussion
View previous topic :: View next topic  
Author Message
Srivathsan, M IN BLR SIS
Guest





PostPosted: Thu May 03, 2007 10:10 am    Post subject: Understanding "Out-of-the-box" Localization - Help needed Reply with quote



Hi all,

Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

I have installed "gettext" and "mbstring" modules in PHP 5.2.1 (on
WinXP+Apache2.2.4 combination). After going through the available help
in the Eventum Wiki, I checked that the appropriate .po and .mo files to
be very much there in dir.
<eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

What am I missing? Is my understanding of the "out-of-the-box"
localization correct? Please help.

Thanks and rgds,
Watson
Back to top
Srivathsan, M IN BLR SIS
Guest





PostPosted: Fri May 04, 2007 10:10 am    Post subject: RE: Understanding "Out-of-the-box" Localization - Help neede Reply with quote



Hi Folks,

Anybody who could shed some light on this?

Thanks and rgds,
Watson

-----Original Message-----
From: Srivathsan, M IN BLR SISL [mailto:M.Srivathsan (AT) siemens (DOT) com]
Sent: Thursday, 03-May-2007 14:03
To: eventum-users (AT) lists (DOT) mysql.com
Subject: Understanding "Out-of-the-box" Localization - Help needed

Hi all,

Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

I have installed "gettext" and "mbstring" modules in PHP 5.2.1 (on
WinXP+Apache2.2.4 combination). After going through the available help
in the Eventum Wiki, I checked that the appropriate .po and .mo files to
be very much there in dir.
<eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

What am I missing? Is my understanding of the "out-of-the-box"
localization correct? Please help.

Thanks and rgds,
Watson
Back to top
Frank
Guest





PostPosted: Fri May 04, 2007 3:16 pm    Post subject: Re: Understanding "Out-of-the-box" Localization - Help neede Reply with quote



Hi,
Check config.inc.php, you should have a define for APP_DEFAULT_LOCALE
set to 'it_IT'
Frank

Srivathsan, M IN BLR SISL ha scritto:
Quote:
Hi Folks,

Anybody who could shed some light on this?

Thanks and rgds,
Watson

-----Original Message-----
From: Srivathsan, M IN BLR SISL [mailto:M.Srivathsan (AT) siemens (DOT) com]
Sent: Thursday, 03-May-2007 14:03
To: eventum-users (AT) lists (DOT) mysql.com
Subject: Understanding "Out-of-the-box" Localization - Help needed

Hi all,

Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

I have installed "gettext" and "mbstring" modules in PHP 5.2.1 (on
WinXP+Apache2.2.4 combination). After going through the available help
in the Eventum Wiki, I checked that the appropriate .po and .mo files to
be very much there in dir.
eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

What am I missing? Is my understanding of the "out-of-the-box"
localization correct? Please help.

Thanks and rgds,
Watson

Back to top
Srivathsan, M IN BLR SIS
Guest





PostPosted: Fri May 04, 2007 3:42 pm    Post subject: RE: Understanding "Out-of-the-box" Localization - Help neede Reply with quote

Hi Frank,

I did the change in <eventum-2.0.1>/config/config.php as there is no
<eventum-2.0.1>/config.inc.php. But no change. I am still getting the
default English texts. Anything else I should try?

Thanks and rgds,
Watson

-----Original Message-----
From: Frank [mailto:streamlake (AT) tiscali (DOT) it]
Sent: Friday, 04-May-2007 15:47
To: eventum-users (AT) lists (DOT) mysql.com
Subject: Re: Understanding "Out-of-the-box" Localization - Help needed

Hi,
Check config.inc.php, you should have a define for APP_DEFAULT_LOCALE
set to 'it_IT'
Frank

Srivathsan, M IN BLR SISL ha scritto:
Quote:
Hi Folks,

Anybody who could shed some light on this?

Thanks and rgds,
Watson

-----Original Message-----
From: Srivathsan, M IN BLR SISL [mailto:M.Srivathsan (AT) siemens (DOT) com]
Sent: Thursday, 03-May-2007 14:03
To: eventum-users (AT) lists (DOT) mysql.com
Subject: Understanding "Out-of-the-box" Localization - Help needed

Hi all,

Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

I have installed "gettext" and "mbstring" modules in PHP 5.2.1 (on
WinXP+Apache2.2.4 combination). After going through the available
WinXP+help
in the Eventum Wiki, I checked that the appropriate .po and .mo files
to be very much there in dir.
eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

What am I missing? Is my understanding of the "out-of-the-box"
localization correct? Please help.

Thanks and rgds,
Watson




--
Eventum Users Mailing List
For list archives: http://lists.mysql.com/eventum-users
To unsubscribe:
http://lists.mysql.com/eventum-users?unsub=M.Srivathsan (AT) siemens (DOT) com
Back to top
Stefano Rosanelli
Guest





PostPosted: Fri May 04, 2007 3:44 pm    Post subject: Re: Understanding "Out-of-the-box" Localization - Help neede Reply with quote

Alle 11:28, venerd́ 4 maggio 2007, Srivathsan, M IN BLR SISL ha scritto:
Quote:
Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

Correct. That's how it works. No problems here (LAMP enviromnent).
Is it a new "clean" install or an update?

Did you enable error/warning display?

In config/config.php
ini_set("display_errors", 1);
error_reporting(E_ALL);

Quote:
I checked that the appropriate .po and .mo
files to be very much there in dir.
eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

yes, eventum.po/.mo

--
ChannelWeb S.r.l. :: http://www.channelweb.it
Via Galliera 17
40121 Bologna :: Italy
Tel +393474248501
Back to top
Srivathsan, M IN BLR SIS
Guest





PostPosted: Mon May 07, 2007 10:10 am    Post subject: RE: Understanding "Out-of-the-box" Localization - Help neede Reply with quote

Hi all,

I got a breakthrough. Once again, I feel the WIKI has to be updated for Windows-specific issues. I did the following:

1. I changed the APP_GETTEXT_MODE from "native" to "php" in <eventum-2.0.1>/config/config.php
2. In the same file, I changed APP_DEFAULT_LOCALE to "it_IT"
3. Now, all the Text Labels were magically changed to Italian!! SUCCESS

Once again, my setup is on WindowsXP-SP2+Apache-2.2.4+PHP-5.2.1+MySQL-5.0.37-nt community ediiton.

The following are my observations / opinions:

1. I think eventum does not provide an "Out-of-the-box" Localization as yet
2. The caption "Available Languages" in the "Account Preferences" section in the "Preferences" page is misleading. I feel that it should be "Preferred Language" or so.
3. Nothing happens if I change the "Available Languages" to the language of my choice. I need to tweak <eventum-2.0.1>/config/config.php and change the definition of APP_DEFAULT_LOCALE to the language that has the corresponding <eventum-2.0.1>/misc/localization/<lang>/LC_MESSAGES/eventum.mo file. Otherwise there is no translation.
4. I feel that users should be able to change their preferred language through the "preferences" page and there should be translation.
5. There should be a script / utility bundled along with Eventum for the creation of the "*.mo" files. I understand that this is really outside eventum - more to do with the "gettext" utility. But it would be useful if it is bundled somewhere under the "misc" folder.

Otherwise, Eventum is fantastic!

Thanks and rgds,
Watson

-----Original Message-----
From: Stefano Rosanelli [mailto:s.rosanelli (AT) channelweb (DOT) it]
Sent: Friday, 04-May-2007 16:14
To: eventum-users (AT) lists (DOT) mysql.com
Subject: Re: Understanding "Out-of-the-box" Localization - Help needed

Alle 11:28, venerd́ 4 maggio 2007, Srivathsan, M IN BLR SISL ha scritto:
Quote:
Just wondering if my understanding of Localization is correct.

I did the following:

* I go into "Preferences" page
* In the "Account Preferences" section

* I change the setting "Available Languages" to "Italian"
and click "Update Preferences" button

I expected all the text to be magically changed to Italian texts but
nothing like that happened.

Correct. That's how it works. No problems here (LAMP enviromnent).
Is it a new "clean" install or an update?

Did you enable error/warning display?

In config/config.php
ini_set("display_errors", 1);
error_reporting(E_ALL);

Quote:
I checked that the appropriate .po and .mo files to be very much there
in dir.
eventum-2.0.1>/misc/localization/it_IT/LC_MESSAGES.

yes, eventum.po/.mo

--
ChannelWeb S.r.l. :: http://www.channelweb.it Via Galliera 17
40121 Bologna :: Italy
Tel +393474248501

--
Eventum Users Mailing List
For list archives: http://lists.mysql.com/eventum-users
To unsubscribe: http://lists.mysql.com/eventum-users?unsub=M.Srivathsan (AT) siemens (DOT) com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> Eventum General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.