WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Translation doesn't apply..
Tagged: translation french languages
- This topic has 5 replies, 2 voices, and was last updated 6 years, 10 months ago by
mbrsolution.
-
AuthorPosts
-
June 14, 2019 at 8:14 am #4730
flobas35
ParticipantHello,
I m doing some french translation because some word are still in english
For example “closed translation” is set to “Transactions closes” which is not right in french.
there are two language file!
First path:
/public_html/wp-content/languages/plugins/affiliates-manager-fr_FR.po
/public_html/wp-content/languages/plugins/affiliates-manager-fr_FR.mo
Second path:
/public_html/wp-content/plugins/affiliates-manager/languages/affiliates-manager-fr_FR.po
/public_html/wp-content/plugins/affiliates-manager/languages/affiliates-manager-fr_FR.moThey are different file (not same number of word, not the same seamingly)
I did improved one of them and the other was allready very complete. But errors of translation on my site have not changed ! Also i did not find “Transactions closes” in one or the other, why?
I am a bit lost with that, i wish i could solve that and even share translation with you.note: i did upload conveniently the .po and .mo erasing the previous files in the right path
Bastien
June 15, 2019 at 8:49 am #4732mbrsolution
ModeratorHi, please read the following documentation. Let me know if this helps you in any way.
Kind regards
June 17, 2019 at 10:06 am #4733flobas35
ParticipantHello,
Yes i did follow these steps. Then i did use my ftp serveur to erase the right files.
But nothing has changed on my site. Plus some of the wrong current traduction i find on my site are not in the translation files, neither in the english part or the french part.. this is the case for the incorrect french translation “Transactions closes”. If i knew where this one is located then i could understand more..Can you help me?
Bastien
June 18, 2019 at 1:09 am #4734mbrsolution
ModeratorHi, can you try the following plugin Loco Translate. Let me know if this helps you.
Kind regards
June 18, 2019 at 10:07 am #4735flobas35
ParticipantThanks i used this plugin, it helped me to see the problem.
explanation:
Ok i solved the issue. This is an issue all french will have.
Because there are actually two file for translation in french:
First path:
/public_html/wp-content/languages/plugins/affiliates-manager-fr_FR.po
/public_html/wp-content/languages/plugins/affiliates-manager-fr_FR.mo
Second path:
/public_html/wp-content/plugins/affiliates-manager/languages/affiliates-manager-fr_FR.po
/public_html/wp-content/plugins/affiliates-manager/languages/affiliates-manager-fr_FR.moAnd they ARE NOT THE SAME FILES
The one applied to the website is the long path (second path). However this one does not contain all translation the other one contains.. and the same the first one doesnt contain all what the second one contains..
May be these two files should be mixed together. What i did myself was to edit both (with notepad) and copy some missing translation that were in the first one in the second one (the one applied onsite).
The tricky part is that copying needs to include the line refference (which cannot be done outside notepad from what i know)
here is an example of one line i did copy from the firs one to the second one:#: html/affiliate_creative_list.php:81
msgid “Generate Referral URL”
msgstr “Générer le lien affilié”I could send yout the new version but it is very slightly modified (just 4 lines) but that makes the difference on the affiliate dashboard.. i think all unique lines should be mixed from both files to have the work done properly.
Kind regards
June 18, 2019 at 11:15 pm #4739mbrsolution
ModeratorHi,
I could send yout the new version but it is very slightly modified (just 4 lines) but that makes the difference on the affiliate dashboard..
If you don’t mind, can you submit your translation copy to us via the link I shared above?
We would really appreciate this.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.