Allen Gilliland wrote:
> 
> 
[snip]
>> I'd rather not have another method, I think your original suggestion was
>> right on and saved me a lot more work. I'll do an exact match. Could you
>> verify in your existing db that all locales are normalized. It's a
>> drop-down after all, so I don't see why we would have different
>> versions: en_US, En_uS, etc.
> 
> You can't do an exact match because if someone only passes in the
> language they want, like "en" then it should give all entries from that
> language, including en_US, en_UK, etc.  That's why it was doing a like
> match instead of an equals.
> 
> I don't care if the match is case sensitive though, i had only done it
> case insensitive because it was easy and i think it's nicer if we can do
> it that way.

got it. let's try like and case sensitive and see how that goes then.

> 
> -- Allen
> 
> 

Reply via email to