Skip to content

Instantly share code, notes, and snippets.

@grappler
Created December 7, 2014 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grappler/5c268a759f7c4130142a to your computer and use it in GitHub Desktop.
Save grappler/5c268a759f7c4130142a to your computer and use it in GitHub Desktop.
EDD wpml-config.xml
<wpml-config>
<custom-types>
<custom-type translate="1">download</custom-type>
<custom-type translate="0">edd_payment</custom-type>
</custom-types>
<custom-fields>
<custom-field action="ignore">_edd_download_earnings</custom-field>
<custom-field action="ignore">_edd_download_sales</custom-field>
<custom-field action="copy">edd_price</custom-field>
<custom-field action="copy">edd_variable_prices</custom-field>
<custom-field action="copy">_edd_purchase_style</custom-field>
<custom-field action="copy">_edd_purchase_color</custom-field>
<custom-field action="copy">edd_download_files[0][file]</custom-field>
<custom-field action="copy">edd_download_files[0][file]</custom-field>
<custom-field action="translate">_edd_purchase_text</custom-field>
<custom-field action="translate">edd_product_notes</custom-field>
</custom-fields>
<taxonomies>
<taxonomy translate="1">download_category</taxonomy>
<taxonomy translate="1">download_tag</taxonomy>
</taxonomies>
<admin-texts>
<key name="edd_settings">
<key name="thousands_separator" />
<key name="from_name" />
<key name="from_email" />
<key name="purchase_subject" />
<key name="purchase_receipt" />
<key name="sale_notification_subject" />
<key name="sale_notification" />
<key name="agree_label" />
<key name="agree_text" />
<key name="checkout_label" />
<key name="add_to_cart_text" />
</key>
</admin-texts>
</wpml-config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment