(Note: I did test this with a single product - a .pdf file - page. It would probably have to be modified for more complexe "thank you/download" pages. Also:I'm not responsible of anything if you use this code.)
Modify and use this html as your "Message" on your thank you/download page to change its language.
What it does:
- If javascript is disabled, it only adds a message in the language you target: "click the 'click here' button above to download [YOUR PRODUCT]".
- If javascript is enabled, it hides the current english "Click here to download" text and it adds a custom text and link to download the product, in the language you want.
I hope e-junkie team will develop a way to change this text in our account, without the need to use such workaround!
The following example is in french. You can change the text to fit the language you want to use. Of course you can also change the css.
=============================
<style type="text/css">
.mybox
{
margin:10px 30px;
font-size:16px;
text-align:center;
border:solid 1px #000000;
padding:10px;
background-color:#ECECEC;
}
.mybox a
{
font-weight:bold;
text-decoration:underline;
}
</style>
<div id="myinfo" class="mybox" style="display:none;">
Veuillez <a href="javascript:document.forms[0].submit();">cliquer ici</a> pour télécharger [%item_name%]
</div>
<script language='JavaScript'>
document.forms[0].style.display = "none";
document.getElementById("myinfo").style.display = "block";
</script>
<noscript>
<div id="myinfoNoJs" class="mybox">
Veuillez cliquer sur le bouton "Click here" ci-dessus pour télécharger [%item_name%].
</div>
</noscript>
=============================