{"id":15320,"date":"2019-08-22T18:30:55","date_gmt":"2019-08-22T16:30:55","guid":{"rendered":"https:\/\/www.wp-amazon-plugin.com\/?post_type=knowledgebase&#038;p=15320"},"modified":"2019-08-22T18:30:55","modified_gmt":"2019-08-22T16:30:55","slug":"the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now","status":"publish","type":"knowledgebase","link":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/","title":{"rendered":"The buy buttons for the default templates are displaying text that reads &#8222;view_on_amazon&#8220; or &#8222;view_now&#8220;"},"content":{"rendered":"<p>&#8222;view_on_amazon&#8220; and &#8222;view_now&#8220; are keys of ASA2&#8217;s template translations which are used in templates like this:<\/p>\n<pre class=\"lang:default decode:true\">{{ translate(\"view_now\") }}<\/pre>\n<p>You can find the translations in section &#8222;Templates \/ Translations&#8220;.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15321\" src=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1.png\" alt=\"\" width=\"984\" height=\"483\" srcset=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1.png 984w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-300x147.png 300w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-768x377.png 768w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-125x61.png 125w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-75x37.png 75w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-100x49.png 100w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182926\/asa2_translation_1-862x423.png 862w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can find out more about template translation in the online documentation on this page: <a href=\"http:\/\/docs.getasa2.com\/templates_translation.html\" target=\"_blank\" rel=\"noopener noreferrer\">Translation<\/a><\/p>\n<h2>Solution 1: Check if translations are installed<\/h2>\n<p>Go to section &#8222;Templates \/ Translations&#8220; and see if the translations have been installed correctly. There should be over 30 items (36 with ASA2 version 1.8). If this is not the case, please click the button &#8222;Reinstall presets&#8220; to install the translation items.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15323\" src=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2.png\" alt=\"\" width=\"1070\" height=\"362\" srcset=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2.png 1070w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-300x101.png 300w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-768x260.png 768w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-1024x346.png 1024w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-125x42.png 125w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-75x25.png 75w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-100x34.png 100w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182959\/asa2_translation_2-862x292.png 862w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" \/><\/p>\n<p>If this does not solve the problem, please also proceed with solution 2.<\/p>\n<h2>Solution 1: Clear all caches<\/h2>\n<p>If the translation keys are displayed in the templates instead of their values, this means that the translation value could not be found or loaded. One reason for this could be the translation cache. Therefore, please clear it by resetting all ASA2 caches in the &#8222;Options \/ Cache&#8220; section by clicking the button &#8222;Clear all caches&#8220;.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-15325\" src=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches.png\" alt=\"\" width=\"916\" height=\"594\" srcset=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches.png 916w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-300x195.png 300w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-768x498.png 768w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-125x81.png 125w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-75x49.png 75w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-100x65.png 100w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22183032\/asa2_clear_caches-862x559.png 862w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/p>\n<p>Then reload your page and check if the translation value could be loaded correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8222;view_on_amazon&#8220; and &#8222;view_now&#8220; are keys of ASA2&#8217;s template translations which are used in templates like this: {{ translate(&#8222;view_now&#8220;) }} You can find the translations in section &#8222;Templates \/ Translations&#8220;. &nbsp; You can find out more about template translation in the online documentation on this page: Translation Solution 1: Check if translations are installed Go to section &#8222;Templates \/ Translations&#8220; and &#8230; <\/p>\n<div><a href=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\" class=\"more-link\">Read More<\/a><\/div>\n","protected":false},"author":1170,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[213],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The buy buttons for the default templates are displaying text that reads &quot;view_on_amazon&quot; or &quot;view_now&quot; - Amazon Simple Affiliate<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The buy buttons for the default templates are displaying text that reads &quot;view_on_amazon&quot; or &quot;view_now&quot; - Amazon Simple Affiliate\" \/>\n<meta property=\"og:description\" content=\"&#8222;view_on_amazon&#8220; and &#8222;view_now&#8220; are keys of ASA2&#8217;s template translations which are used in templates like this: {{ translate(&quot;view_now&quot;) }} You can find the translations in section &#8222;Templates \/ Translations&#8220;. &nbsp; You can find out more about template translation in the online documentation on this page: Translation Solution 1: Check if translations are installed Go to section &#8222;Templates \/ Translations&#8220; and ... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\" \/>\n<meta property=\"og:site_name\" content=\"Amazon Simple Affiliate\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpasa2\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ifeelwebde\" \/>\n<meta name=\"twitter:label1\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\",\"url\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\",\"name\":\"The buy buttons for the default templates are displaying text that reads \\\"view_on_amazon\\\" or \\\"view_now\\\" - Amazon Simple Affiliate\",\"isPartOf\":{\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png\",\"datePublished\":\"2019-08-22T16:30:55+00:00\",\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage\",\"url\":\"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png\",\"contentUrl\":\"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/#website\",\"url\":\"https:\/\/www.wp-amazon-plugin.com\/\",\"name\":\"Amazon Simple Affiliate\",\"description\":\"Upgrade your WordPress Affiliate skills!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wp-amazon-plugin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The buy buttons for the default templates are displaying text that reads \"view_on_amazon\" or \"view_now\" - Amazon Simple Affiliate","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/","og_locale":"de_DE","og_type":"article","og_title":"The buy buttons for the default templates are displaying text that reads \"view_on_amazon\" or \"view_now\" - Amazon Simple Affiliate","og_description":"&#8222;view_on_amazon&#8220; and &#8222;view_now&#8220; are keys of ASA2&#8217;s template translations which are used in templates like this: {{ translate(\"view_now\") }} You can find the translations in section &#8222;Templates \/ Translations&#8220;. &nbsp; You can find out more about template translation in the online documentation on this page: Translation Solution 1: Check if translations are installed Go to section &#8222;Templates \/ Translations&#8220; and ... Read More","og_url":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/","og_site_name":"Amazon Simple Affiliate","article_publisher":"https:\/\/www.facebook.com\/wpasa2\/","og_image":[{"url":"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@ifeelwebde","twitter_misc":{"Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/","url":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/","name":"The buy buttons for the default templates are displaying text that reads \"view_on_amazon\" or \"view_now\" - Amazon Simple Affiliate","isPartOf":{"@id":"https:\/\/www.wp-amazon-plugin.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png","datePublished":"2019-08-22T16:30:55+00:00","inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/templates\/the-buy-buttons-for-the-default-templates-are-displaying-text-that-reads-view_on_amazon-or-view_now\/#primaryimage","url":"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png","contentUrl":"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/asa2_translation_1.png"},{"@type":"WebSite","@id":"https:\/\/www.wp-amazon-plugin.com\/#website","url":"https:\/\/www.wp-amazon-plugin.com\/","name":"Amazon Simple Affiliate","description":"Upgrade your WordPress Affiliate skills!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-amazon-plugin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15320"}],"collection":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/users\/1170"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/comments?post=15320"}],"version-history":[{"count":2,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15320\/revisions"}],"predecessor-version":[{"id":16932,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15320\/revisions\/16932"}],"wp:attachment":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/media?parent=15320"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase_cat?post=15320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}