Hi Chuck, hm, I thought that...But thanks for the bunch of alternatives. It's very easy to provide localized configs. I've almost forgotten that ERXResourceManager takes the available languages as parameter for resource access. So I simply moved my config files into the LANG.lproj directories and localized the column headers.
Thanks a lot for your help. Regards, Helmut Am 23.04.2008 um 19:11 schrieb Chuck Hill:
On Apr 23, 2008, at 7:31 AM, Helmut Schottmüller wrote:Hi folks,is it possible to use localization in the AjaxGrid properties file? I would like to add localized strings for the column titles of the grid and it would nice to do this in the properties plist. Maybe there is something like the formatterClass key to make this happen... If not, would it be a useful feature request to support localization of column titles?An interesting question, but problematic. The Ajax framework has a very light dependancy on ERExtensions where Wonder style localization is implemented. I think that tying the Ajax framework to one specific localization implementation is not a good idea.Here are some ideas to consider:- do it a level up, provide a localized config. You could even merge the common values with the localized ones. It is just a NSMutableDictionary - use a formatter. It would have to use thread local storage to get at the session. If you use Wonder, this is already there.- sub-class AjaxGrid and do the localization in the sub-class Any other ideas? Chuck --Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.http://www.global-village.net/products/practical_webobjects
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
