Task-J-Internationalization
Activity 1
Add the locale to the products column, and adjust the index view to select only the products that match the locale. Adjust the products view so that you can view, enter, and alter this new column. Enter a few products in each locale, and test the resulting application.
Activity 2
Determine the current exchange rate between U.S. dollars and euros,
and localize the currency display to display euros when ES_es is selected.
Activity 3
Translate the Order::PAYMENT_TYPES shown in the dropdown. You will need to keep the option value (which is sent to the server) the same. Only change what is displayed.
Carl wrote: (2011-08-13)
I couldn’t get the .yml to work with just
orders:
...
form:
name: "name"
...
I had to either add t(’.name’) to the label or add to the .yml
helpers:
label:
order:
name: "Name"
Am I missing something or do you need the helpers: in the .yml?
Cheers Carl

