You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set the default locale for our application and provided means for the user to select an alternative locale.
Iteration K2: Translating the Storefront
create translation files for text fields, currency amounts, errors, and model names.
Iteration K3: Translating Checkout
altered layouts and views to call out to the I18n module by way of the t() helper to translate textual portions of the interface.
Iteration K4: Adding a Locale Switcher
Playtime
Add a locale column to the products database 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.
Determine the current exchange rate between U.S. dollars and euros, and localize the currency display to display euros when ES_es is selected.
Translate the Order::PAYMENT_TYPES shown in the drop-down. You’ll need to keep the option value (which is sent to the server) the same. Change only what’s displayed.
Iteration K1: Selecting the Locale
Iteration K2: Translating the Storefront
Iteration K3: Translating Checkout
Playtime