Home › Forums › Front End PM PRO › Translation not working
Tagged: translation
- This topic has 11 replies, 2 voices, and was last updated 9 years, 3 months ago by Emil.
- AuthorPosts
- September 1, 2016 at 2:50 pm #453EmilParticipant
Hi,
Just translated the pro plugin (Swedish) and put the two files
“front-end-pm-sv_SE.mo” and “front-end-pm-sv_SE.po” in the languages directory. It’s still English. I have tried deactivating and then activating the plugin.Any suggestions?
Thanks,
EmilSeptember 1, 2016 at 6:55 pm #456Shamim HasanKeymasterWhat is your site language? is it sv_SE? What about others theme and plugins?
September 1, 2016 at 7:12 pm #463EmilParticipantSorry should have mentioned that. Yes it is. Theme translations and other plugin translations (which we also did ourselves) are working.
edit: I just tried deactivating the pro version and uploaded the files to the free version and activated that one. That works. (still not in the pro version though)
September 1, 2016 at 7:18 pm #466Shamim HasanKeymastercan you give me your translated files( po and mo ) so that i can try? Also let me know that every sentences in english or some sentences?
September 1, 2016 at 7:20 pm #469EmilParticipantSure, but how do I attach the files?
Some sentences are translated, the most important ones.
September 1, 2016 at 8:03 pm #476Shamim HasanKeymasterIt seems some the the string are missing from pot file. Please use attached pot file for translate. You can use “update from pot” so that only missing string will be loaded and you can keep your previous translating. Keep the file name as your previous name (do not add pro)
Let me know.
Sorry for the inconvenience.
Attachments:You must be logged in to view attached files.September 1, 2016 at 10:52 pm #484EmilParticipantI did do tthe “update from pot” from the file you attached but it doesn’t seem to help. (I’m assuming I don’t have to reactivate the plugin).
Attaching the files.
September 1, 2016 at 11:03 pm #487Shamim HasanKeymastergive me some example which sentence in english. (with screenshot will be better)
Also if possible upload your po file somewhere else (google drive/dropbox/your website etc) and give me download link.
You don’t have to reactivate.September 1, 2016 at 11:06 pm #490EmilParticipantThis reply has been marked as private.September 1, 2016 at 11:52 pm #493Shamim HasanKeymasterAre you comfort to edit just a little php code? if so just go to plugins > front-end-pm-pro > functions.php and change
add_action('plugins_loaded', 'fep_translation' );toadd_action('plugins_loaded', 'fep_translation', 15 );just add 15.Let me know. Next version will correct this as well.
September 2, 2016 at 12:12 am #496Shamim HasanKeymasterYou can keep your language file in wp-content/languages/plugins/front-end-pm-sv_SE.mo so that every time you update this plugin need not to update your language.
September 2, 2016 at 12:41 am #499EmilParticipantThat worked!
Ok thanks.
- AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.