• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
localizedValueForKey and created keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

localizedValueForKey and created keys


  • Subject: localizedValueForKey and created keys
  • From: Samuel Pelletier <email@hidden>
  • Date: Tue, 02 Aug 2011 10:48:14 -0400

Hi everyone,

I'm back in the WO land after a pause of about 7 years. I decided to start new apps using wonder. The framework is huge like someone said but I think the worst things after the lack of beginner documentation are some strange behaviors, including some patterns that works sometimes. 

My first one is a very simple case, ERXLocalizer has an internal mechanism to track created keys (not found keys) but the localizedValueForKey method do not register not found keys and this is the method called when using the very useful "[localizer.key]" bindings in components. Is there a rational behind this? I can change the source and push but maybe this was intentional.

Another very simple one on the localization topic, if the preferred encoding is UTF-8 everywhere, why Localized.strings files are not read using this encoding by default (the current default is the VM file encoding and fall back to UTF-16...) At least the Wonder project template should include these lines:
er.extensions.ERXApplication.DefaultEncoding=UTF-8
er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8
file.encoding=UTF-8

My last for now is a even more strange, the WOOgnl shortcuts (wo:str, wo:localized,...) works sometimes and sometimes not but the full component name always works. Any idea why?


Samuel
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: localizedValueForKey and created keys
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: EOModelDoc output no longer viewable with Safari 5.1, Firefox 5.0.1
  • Next by Date: Re: localizedValueForKey and created keys
  • Previous by thread: Re: EOModelDoc output no longer viewable with Safari 5.1, Firefox 5.0.1
  • Next by thread: Re: localizedValueForKey and created keys
  • Index(es):
    • Date
    • Thread