Re: Localization - Need help and want to contribute
Re: Localization - Need help and want to contribute
- Subject: Re: Localization - Need help and want to contribute
- From: Flavio Donadio <email@hidden>
- Date: Tue, 16 Oct 2012 14:35:22 -0300
On 16/10/2012, at 12:42, Ramsey Gurley wrote:
> Yes but you still need a rule if you're using d2w :-) Something like
>
> 20: propertyType = 'a' and smartAttribute.userInfo.indefiniteArticles.count > 0 and session.localizer.languageCode = 'en' => indefiniteArticle = smartAttribute.userInfo.indefiniteArticles.en [ERDKeyValueAssignment]
>
> Or just put together a custom assignment, since this approach would result in at least two rules per language.
I can't make this work. I opted for a simpler approach, creating only one key in the userInfo dictionary. The key is "indefiniteArticle" and it's value is the String "uma".
No matter how I write my d2w rule, I can't get smartAttribute.userInfo.indefiniteArticle's value.
Where did I got wrong?
Cheers,
Flavio
_______________________________________________
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