Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Translation of emember in french getting bug

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Translation of emember in french getting bug

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 6 months ago by martialo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 22, 2012 at 2:24 pm #7702
    martialo
    Member

    Hello

    I do the complete translation file on the fr.php file of emember.

    but once pasted it, i got this error message on my site.

    Parse error: syntax error, unexpected T_STRING in /home/social/public_html/wp-content/plugins/wp-eMember/lang/fr.php on line 133

    Could you check that file for me and tell me what is wrong.

    October 22, 2012 at 10:28 pm #50579
    Peter
    Member

    Hi,

    Your problem is most probably caused by the fact that you have some lines which have nested single quotation marks inside single quotation marks.

    For example:

    define('EMEMBER_USERNAME_NOT_EMPTY', 'Le nom d'utilisateur ne peut pas etre vide.');

    The above line will cause an error. You should change it to the following:

    define('EMEMBER_USERNAME_NOT_EMPTY', "Le nom d'utilisateur ne peut pas etre vide.");

    NOTE: I have used “” to wrap the text.

    You should go through your file and change any lines which have single quotation marks within outer single quotation marks using the method I have used above.

    October 23, 2012 at 2:35 am #50580
    nur
    Member

    Hi, I’have checked with our latest codebase. French translation is working fine.

    October 23, 2012 at 2:51 am #50581
    nur
    Member

    martialo,

    you can follow peter’s suggestion too and update your copy of fr.php file.

    October 23, 2012 at 8:48 pm #50582
    martialo
    Member

    ok thanks i will follow and see

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ