Title: Template localization problem
Last modified: August 22, 2016

---

# Template localization problem

 *  [Blazer11](https://wordpress.org/support/users/blazer11/)
 * (@blazer11)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/template-localization-problem/)
 * Hi Paul,
 * thank you for this awesome plugin! I’m a novice in wordpress and I’m struggling
   with 2 issues.
 * 1) I’m using next template which suits my needs the best:
 *     ```
       <div style="text-align:center;font-size:100%">
       <div class="al_found%FOUND%">
        %LINK_OPEN%<img alt="%TITLE%" title="%TITLE%" src="%IMAGE%" class="%IMAGE_CLASS%">%LINK_CLOSE%
       <img src="http://www.assoc-amazon.%TLD%/e/ir?t=%TAG%&l=as2&o=%MPLACE_ID%&a=%ASIN%" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
        </div>
       <div style="text-align:center;font-size:100%">
         %LINK_OPEN%
          %TITLE%
         %LINK_CLOSE%
        </div>
   
       %LINK_OPEN%
       <img src="http://url"
         %LINK_CLOSE%
        </div>
       ```
   
 * I am wondering if there is any possibility to make this template localized. So
   it would for example open amazon.co.uk for users from United Kingdom. I have 
   tried through UK web proxy but it always opens amazon.com
    Any advice is appreciated!
 * 2) If product which I am linking to is not in stock on amazon.com, the image 
   is not shown. It shows “no image”. Is there any possiblity to set custom image
   when the product is not in stock on amazon.com or that the plugin would retrieve
   images from different amazons?
 * Thank you in advance.
 * [https://wordpress.org/plugins/amazon-link/](https://wordpress.org/plugins/amazon-link/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/template-localization-problem/#post-5949807)
 * Hi,
 * 1/ If you have localisation enabled (and no external Cache software installed
   on your WP site), then that template should provide localised links.
 * Although the bottom part of the template appears to be incomplete: the part with`
   <img src="http://url"`
 * 2/ When you say ‘not in stock’ do you mean it is not listed on the site – i.e.
   You get the page not found if you try and link there? Or do you mean not available,
   so the page exists but no pricing is available?
 * Paul
 *  Thread Starter [Blazer11](https://wordpress.org/support/users/blazer11/)
 * (@blazer11)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/template-localization-problem/#post-5949831)
 * Hi Paul,
 * 1) thanks for your answer. Now I see the template is actually providing localised
   links. Thanks for reminding me I forgot /> in the template. I haven’t even noticed
   but some headings were changed into links.
 * 2) I think it’s the same issue as listed here: [https://wordpress.org/support/topic/image-localization-bug?replies=3](https://wordpress.org/support/topic/image-localization-bug?replies=3)
   
   I will first try the procedures explained in in this topic and follow it for 
   further information.
 * Thanks for this great plugin and all your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template localization problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Blazer11](https://wordpress.org/support/users/blazer11/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/template-localization-problem/#post-5949831)
 * Status: not resolved