Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v:2.0:i18n [2016/07/27 11:46] – [What Is Customizable] adam | v:2.0:i18n [2019/05/04 03:44] (current) – [Customising the email subject] adam | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== What Is Customizable ===== | ===== What Is Customizable ===== | ||
- | * Currency symbol (in the admin' | + | * Currency symbol (in the admin' |
* All customer-facing language (in the admin' | * All customer-facing language (in the admin' | ||
===== What Isn't Customizable ===== | ===== What Isn't Customizable ===== | ||
* The [[https:// | * The [[https:// | ||
- | * Country and state/ | + | * Country and state/ |
===== Things to Watch Out For ===== | ===== Things to Watch Out For ===== | ||
Line 20: | Line 20: | ||
===== Want to Enable Multiple Languages for your Cart? ===== | ===== Want to Enable Multiple Languages for your Cart? ===== | ||
- | Have a look at the [[https:// | ||
+ | With FoxyCart' | ||
+ | |||
+ | ==== Editing language strings for a specific template set ==== | ||
+ | |||
+ | If you need to make changes to a language string for a specific template set, simply head to the " | ||
+ | |||
+ | ==== Customising the email subject ==== | ||
+ | |||
+ | Currently the email subject sent out with the email receipt is not a language string, but is set on the emails template page directly. The exception to this is for our subscription dunning functionality, | ||
+ | |||
+ | If you want to customise the email subject based on the language set for the cart, you'll need to include a little Twig logic in your email template. The following is an example of that for updating just the email subject for the email receipt (and not the subscription dunning emails). Paste the following at the top of your email templates (both the text and HTML versions if you're using both options), and customise it to cover the languages that you're supporting in your template sets: | ||
+ | |||
+ | < | ||
+ | {% if not is_subscription_dunning_cancellation and not is_subscription_dunning_reminder and not is_expiring_payment_reminder %} | ||
+ | {% if language == " | ||
+ | {% set custom_subject = " | ||
+ | {% elseif language == " | ||
+ | {% set custom_subject = " | ||
+ | {% endif %} | ||
+ | {% endif %} | ||
+ | {% if custom_subject != "" | ||
+ | {{ custom_subject|fc_output_data(' | ||
+ | {% endif %}</ | ||
+ | |||
+ | If one of the conditions is not met to set a custom string, the default subject as it is set in your store' | ||
===== Want a New Language Supported? ===== | ===== Want a New Language Supported? ===== | ||
Please [[mailto: | Please [[mailto: |