Author Topic: Can't see I agree to the Terms of Service (Terms of Service) * using french la  (Read 16472 times)

billo

  • Beginner
  • *
  • Posts: 1
When using the french language pack for virtuemart everything works great except I agree to the Terms of Service (Terms of Service)  * I see only the checkbox and *
I agree to the Terms of Service (Terms of Service) is not translated. How can I fix this.

Pisu

  • Moderator
  • Jr. Member
  • *
  • Posts: 451
  • ..still looking for..
    • Blog di Stefano Bagnatica
These strings seems to be ok in the latest language pack:

Code: [Select]
'PHPSHOP_STORE_FORM_TOS' => 'Conditions d\'utilisation',
'PHPSHOP_AGREE_TO_TOS' => 'Veuillez d\'abord accepter nos conditions d\'utilisation SVP.',

Try updating the language pack..

If it does not work, can you post a screenshot?
Pisu - Team VMItalia (Supporto Italiano VirtueMart)
www.stefanobagnatica.it | www.vmitalia.net

ecohosting

  • Beginner
  • *
  • Posts: 2
Hi,

I've got the most recent language pack installed and the latest virtuemart and joomfish as well. However, when in French and checking out the terms of service is blank. All I see is an asterisk and the checkbox. When looking at the source code I do see the text that should be displaying but it does not appear in the browser. Here is code from the viewsource:

Code: [Select]
<fieldset>
     <legend class="sectiontableheader">S'inscrire</legend>
<div id="agreed_div" class="formLabel "><label for="agreed_field"><script type="text/javascript">//<![CDATA[
document.write('<label for="agreed_field">J\'accepte les conditions d\'utilisation</label><a href="javascript:void window.open(\'http://www.horoscopus.ca/index2.php?option=com_virtuemart&page=shop.tos&pop=1\', \'win2\', \'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no\');">');
document.write(' (Conditions d'utilisation)</a>');
//]]></script>
<noscript>
<label for="agreed_field">J'accepte les conditions d'utilisation</label>
<a target="_blank" href="http://www.horoscopus.ca/index.php?option=com_virtuemart&amp;page=shop.tos" title="J'accepte les conditions d'utilisation">
(Conditions d'utilisation)
</a></noscript></label><strong>* </strong> </div>
      <div class="formField" id="agreed_input">

<input type="checkbox" id="agreed_field" name="agreed" value="1" class="inputbox" /><br /></div>
      <br style="clear:both;" /></fieldset>

Can anyone offer any insight as to why this is happening? Many thanks.

deemee3

  • Beginner
  • *
  • Posts: 8
Exact same problem!

Any news on this issue? Has it been solved? Does someone experienced it in another language?

Looking through the frontend with Firebug, I can see that something is missing in French:


English (default)

Code: [Select]
<div id="agreed_div" class="formLabel ">
<label for="agreed_field">
<script type="text/javascript">
1//<![CDATA[
2 document.write('<label for="agreed_field">I agree to the Terms of Service</label><a href="javascript:void window.open(\'http://www.shatooye.com/index2.php?option=com_virtuemart&page=shop.tos&pop=1\', \'win2\', \'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no\');">');
3 document.write(' (Terms of Service)</a>');
4 //]]>
</script>
</label>
<label for="agreed_field">I agree to the Terms of Service</label>
<a href="javascript:void window.open('http://www.shatooye.com/index2.php?option=com_virtuemart&page=shop.tos&pop=1', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');"> (Terms of Service)</a>
<noscript> <label for="agreed_field">I agree to the Terms of Service</label> <a target="_blank" href="http://www.shatooye.com/index.php?option=com_virtuemart&amp;page=shop.tos" title="I agree to the Terms of Service"> (Terms of Service) </a></noscript>
<strong>* </strong>
</div>

French (Joomfish)

Code: [Select]
<div id="agreed_div" class="formLabel ">
<label for="agreed_field">
<script type="text/javascript">
1//<![CDATA[
2 document.write('<label for="agreed_field">J\'accepte les conditions d\'utilisation</label><a href="javascript:void window.open(\'http://www.shatooye.com/index2.php?option=com_virtuemart&page=shop.tos&pop=1\', \'win2\', \'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no\');">');
3 document.write(' (Conditions d'utilisation)</a>');
4 //]]>
</script>
<noscript> <label for="agreed_field">J'accepte les conditions d'utilisation</label> <a target="_blank" href="http://www.shatooye.com/index.php?option=com_virtuemart&amp;page=shop.tos" title="J'accepte les conditions d'utilisation"> (Conditions d'utilisation) </a></noscript>
</label>
<strong>* </strong>
</div>

French is missing:

Code: [Select]
<label for="agreed_field">I agree to the Terms of Service</label>
<a href="javascript:void window.open('http://www.shatooye.com/index2.php?option=com_virtuemart&page=shop.tos&pop=1', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');"> (Terms of Service)</a>


If someone could show up with any solution it would be great since this is a serious problem customer wise.

Thanks a lot!  ;)

deemee3

  • Beginner
  • *
  • Posts: 8
Ok, found what's wrong: apostrophes!! While they don't give problems in labels, they seem to with hypertext. Replacing the hypertext "Conditions d'utilisations" by "Lire" (read) solves the issue.

Still, what puzzles me is that at the end of the check out, the link "J'accepte les conditions d'utilisations" works fine ... The only difference that comes up to me is that in the first case the link includes brackets... Apostrophes + brackets = problem ?

 ???

Philippe MARTY

  • Beginner
  • *
  • Posts: 2
    • Atelier 51
Thanks, this was correct for me.

In administrator/components/com_virtuemart/languages/common/french.php
I change the line
'PHPSHOP_STORE_FORM_TOS' => 'Conditions d\'utilisation',
to
'PHPSHOP_STORE_FORM_TOS' => 'Lire les CGV',

And it was done !
Great  :D
Working with Joomla and making business with VirtueMart :)
http://www.atelier51.com

Mancru

  • Beginner
  • *
  • Posts: 3
I've installed the Spanish language pack, and I've the same problem. I try the solution for French's Language Pack, but doesn't work for me.
The "Condiciones de Servicio" (Terms of Service) give me a blank page. Any solution?