List Info

Thread: RE: Understanding "Out-of-the-box" Localization - Help needed




RE: Understanding "Out-of-the-box" Localization - Help needed
user name
2007-05-07 00:09:56
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_MESS
AGES/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.rosanellichannelweb.it] 
Sent: Friday, 04-May-2007 16:14
To: eventum-userslists.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:
> 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);

> 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.mys
ql.com/eventum-users
To unsubscribe:    http://lists.mysql.com/eventum-users?unsub=M.Srivathsansiemens.com


--
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe:    http:
//lists.mysql.com/eventum-users?unsub=bondyahoo.com


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )