Dear Tom, -----Original Message----- From: Tom Hacohen Sent: Wednesday, September 14, 2011 2:15 PM To: Enlightenment developer list Cc: Govindaraju SM ; Sumanth Subject: Re: [E-devel] Lib ICU Integration
On 14/09/11 05:39, Govindaraju SM wrote: > Hello All, > > We are considering lib ICU integration ( > http://icu-project.org/apiref/icu4c/ ) with EFL to enhance the > localization support. > > Initially, Date& time input / display with ucal, udat, uloc features. > ICU provides API to get default system Locale ( or user specified ) > specific date and time layout formats ( “ddMMyyyy hh:mm a”, “MMddyyyy > HH:mm” , “yyyyMMdd hh:mm a” etc ), locale specific formatted strings, > context based field limit ( Feb –28, Leap yr Feb –29 etc ). > > Pls provide your thought on this. > I'm not sure it's wanted. From what I hear/have seen, ICU is fat and bloated; That's why I chose using the libraries I chose when implementing the unicode-related text features, e.g, fribidi, harfbuzz, liblinebreak, which are considered lighter, faster and better designed. ==> Requirement is providing Date & time input widget which should change the format automatically based on current system locale, also display the date field strings in the locale specific language. so, at this moment ICU lib utilization is only for date & time formatting, locale and resource bundle. based on our experiment, performance overhead added by ICU is negligible. Binary size and its RAM usage, your point is right, due to extensive features supported by ICU. But I see some more features can be utilized, like locale specific number format, currency, regular expressions, any locale Word boundary calculation etc... The real question is what do you feel you can't do with just locale/strftime. I'd like to see more information on what you are trying to achieve instead of how (ICU integration). ==> Get the locale specific formats, formatted date with locale specific strings, context specific field limits ( ex, whats the max date value for the specified month/year ) plus, the resource bundle should be replicated into gettext. Number formatting, regex are some of the features can be utilized later. Furthermore, what does this "integration" include? What do you plan on doing? ==> Idea is to make a simple date & time input widget. ( calendar widget occupies more screen space, need simple widget ). Thank you for your input. Do you think integrating ICU is okay if, we utilize all the above mentioned features? In my opinion this is not needed at best, and should probably be avoided. With that being said, my opinions are based on the little information you provided. Please provide more information. Thanks, Tom. ----------- Regards, Govind ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel