- This topic has 4 replies, 3 voices, and was last updated 12 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Translation of emember in french getting bug
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.
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.
Hi, I’have checked with our latest codebase. French translation is working fine.
martialo,
you can follow peter’s suggestion too and update your copy of fr.php file.
ok thanks i will follow and see