Jump to content

Translate input type = file


Recommended Posts

Hi all, 
to see if someone can help me solve this problem that has arisen me. I created a page in prestashop 1.6 in which you can upload files. Well the problem I encounter is when translating the input. I can not find where to translate it. It appears in English and I would like it in french:
my code is this:
<form action="index.php?controller=subefotoconfirmar" method="POST" enctype="multipart/form-data"  >
<p style="display:inline;margin-right: 10px;">Nombre de Usuario:</p><label>{$cookie->customer_firstname}{$cookie->customer_lastname}</label>
 
<input type="hidden" id="" name="fecha" value="{$smarty.now|date_format:'%Y-%m-%d'}">
<p id="subimos2" style="margin-right: 10px;">Diseño</p>
<div id="subir" style="display:inline-block;">
<input name="foto" type="file" style="display:inline;"/>
<input type="hidden" name="MAX_FILE_SIZE" value="50000000" />
<input id="botonsube" type="submit" value="Subir" style="padding-bottom: 4px;padding-top: 5px;padding-left:40px;padding-right:40px;">
</form>
and the code that generates:
<form action="index.php?controller=subefotoconfirmar" method="POST" enctype="multipart/form-data">
<p style="display:inline;margin-right: 10px;">Nombre de Usuario:</p><label>Eduardodel val</label>
<input type="hidden" id="" name="NombreUsuario" value="Eduardo del val">
<p style="display:inline;margin-right: 10px;margin-left: 34px;">Fecha:</p><label>04-09-2014</label>
<br>
 
<input type="hidden" id="" name="fecha" value="2014-09-04">
 
<p id="subimos2" style="margin-right: 10px;">Diseño</p>
<div id="subir" style="display:inline-block;">
 
<div class="uploader"><input name="foto" type="file" style="display:inline;"><span class="filename" style="-webkit-user-select: none;">No file selected</span><span class="action" style="-webkit-user-select: none;">Choose File</span></div>
 
</div>
 
<input type="hidden" name="MAX_FILE_SIZE" value="50000000">
<input id="botonsube" type="submit" value="Subir" style="padding-bottom: 4px;padding-top: 5px;padding-left:40px;padding-right:40px;">
</form>
You know where I can put the translation?

 

post-206808-0-36544400-1409823640_thumb.png

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...