Tagged: language, translation
Are there any special tricks in order to get the langfiles working on Mediapress?
These are my files, translation in progress but not “taking” in Mediapress on the site.
Maybe missing something obvious, but grateful of hint! Naming ok?/wp-content/plugins/mediapress-master/languages/mediapress-se_SE.mo
/wp-content/plugins/mediapress-master/languages/mediapress-se_SE.pothanx
JanHi Jan,
Please rename the “mediapress-master” to “mediapress” and reactivate the plugin. It will take the translation.
The translation files are named “mediapress-locale.mo/po” where first part is the actual directory name of mediapress. Since you are downloading from github, it gets renamed ot “mediapress-master”. So, that’s what is causing the issue.When we start providing it from wp.org repo or BuddyDev, the directory will remain mediapress. That’s why I am suggesting to rename the plugin directory. Please try that and It will be working.
Dear Keymaster Guru
If I click the download link here at Buddydev, I get a file called mediapress-master.
I have no trouble reanaming the directory and mediapress always works as expected.Langfiles still elude me though….
I renamed the ftp directory “mediapress” and then inactivated and re-inactivated.
Still not taking the langfiles in..yes cache emptied…
no potfile at: /wp-content/plugins/mediapress/languages
should there be?Ah well.
No trouble here and I might be missing something…
But when you have a sec sweet key master guru, perhaps you can show us the way 😉
best
j- This reply was modified 9 years, 2 months ago by Jan Anderson.
- This reply was modified 9 years, 2 months ago by Jan Anderson.
Hi Jan,
I did not notice I already reached to the guru level on the new forum so soon 🙂 You too seem to be enlightened 🙂Thank you for the details. Please put your mo file in the mediapress/languages directory or do you have WordPress languages directory created?
If yes, you can put the mo file there. Normally the languages directory for WordPress is named “languages” inside wp-content. You can put the translation for plugins inside languages/plugins directory. That is a fallback location for loading translations if the translation file is not found inside the plugin specified languages directory.Hope that helps.
My level of enlightenment is that my files ar always where they should be, but they are sometimes the wrong files 😉
No worries. It can wait.Hmm.
Still can’t make my swedish language files take effect…
Have put both mo/po files in:
/wp-content/languages/mediapress-se_SE.mo
/wp-content/languages/plugins/mediapress-se_SE.mo
/wp-content/plugins/mediapress/languages/mediapress-se_SE.moAnd still only english…
Could there be a bug somewhere in there with swedish po/mo files?
I am stuck. Grateful for anything that puts me on the right path..Hi Jan,
I am sorry, it might be my mistake too.
can you please send me the po/mo file by email? my email is brajesh@buddydev.comWill try and see if it loads or there is an issue with the plugin.
Thank you
BrajeshDear Brajesh.
Please ignore my last support question on this.
It was a typo! My bad, terribly sorry!
Everything is working as it should…best
JanHi Jan,
No problem.
Is it working now? Should we mark this topic close then?Yes an no,
Some lines are not translating.
Is there an updated .pot file that I can use to make sure all the strings are in there and correct?best
Jan
The topic ‘ [Resolved] Language files not "taking"’ is closed to new replies.