MailingList


Is Globalize no longer case sensitive?

View: New views
1 Messages — Rating Filter:   Alert me  

Is Globalize no longer case sensitive?

by jgb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After hours of looking for an answer, the only thing close to what I was looking for was a message posted on this site (http://www.nabble.com/globalize-case-sensitive--tt7524439s17045.html#a7524437) but it didn't quite solve my problem.

On our page we use the word sell in two formats, SELL and Sell.  My problem is that when I translate the words to VENDER (spanish) and Vender, the translation always picks up the first entry on the db table.  So I created another page to test four different version.


<li><%= link_to 'SELL'.t, sell_path, { :class => 'link3'} %></li>
<li><%= link_to 'Sell'.t, sell_path, { :class => 'link3'} %></li>
<li><%= link_to 'sell'.t, sell_path, { :class => 'link3'} %></li>
<li><%= link_to 'seLL'.t, sell_path, { :class => 'link3'} %></li>


I translated the words and they appear on the globalize_translations table in the following order:

sell = vender
SELL = VENDER
Sell = Vender
seLL = venDER

The page continue to display "sell" for all four entries.

What am I doing wrong or how do I fix it?

Thanks
JGB