Simple Membership Plugin › Forums › Simple Membership Plugin › How do I get the build-in language .po and .mo files to work?
Tagged: language file
- This topic has 5 replies, 2 voices, and was last updated 8 years, 3 months ago by
mbrsolution.
-
AuthorPosts
-
August 23, 2018 at 12:39 pm #15262
Morten
ParticipantHi
I’m Danish, and am trying to get my language into the front of my homepage’s SWPM. Most of the dashboard is in Danish though.I found the files simple-membership-da_DK.po and simple-membership-da_DK.mo in
wp-content/plugins/simple-membership/languages
and then I put a copy of both of them into
wp-content/languages/plugins/How come it does’t work?
Hi, Morten
August 23, 2018 at 10:25 pm #15266mbrsolution
ModeratorHi, currently the Danish translation is not yet completed. You can check the following URL. You will notice there are 78 strings left to translate. You could help and translate them yourself.
You can check the following documentation to help you further.
Or if you can’t wait and want to translate those language strings in your site you could use the following plugin Loco Translate.
Let me know if the above helps you.
Kind regards
August 24, 2018 at 7:22 am #15271Morten
ParticipantHi again
You wrote to me, that there are still 78 strings left to be translated. In the file, that I found in the backend of the plugin all the strings are translated – especially I noticed, that all of the strings, that I need in my website are translated…
Question is where to put the files to make them take effect?
In your “manual” you write something about the user had to translate the files and afterwards send the translated files to you – and then you would put them into the plugin. I don’t understand.
Isn’t it a question about putting the existing files in the right place? And my question is: Where?Kindest Morten
August 24, 2018 at 7:40 am #15272mbrsolution
ModeratorHi, in regards to your question.
I found the files simple-membership-da_DK.po and simple-membership-da_DK.mo in
wp-content/plugins/simple-membership/languages
and then I put a copy of both of them into
wp-content/languages/plugins/That only means that now you have identical files in two locations. However this would not help you if there are strings that not yet translated. As per the following comment.
Most of the dashboard is in Danish though.
What strings are missing?
That is why I provided the above information to help you understand how the translation works and to translate the remaining strings if there there are some missing.
Regards
August 24, 2018 at 8:29 am #15276Morten
ParticipantAnd again…
Yes I know, that the files are identical and not altered, but I didn’t know, that they wouldn’t work, if they are not fully/completely translated. That is: If I’ve understood correctly.The strings, that I need right now are only:
“You are Logged in as” – which equals “Du er logget ind som” and
“Logout” which has been translated to “Logout” – as my language doesn’t have a better word for that…
So really: I just need ONE sentence to be translated – but something tells me, that it is in fact a combination of two strings, namely “You are” and “Logged in as”.
— And it has already been translated — I can see that in the .po file of the plugin.Sorry – haven’t got the time to translate all the missing strings right now – maybe later? I can see that I have to be logged in somewhere else to do that. Got to find out.
Now I’ll try to just get into the english language version and manipulate inside of it’s .po file
Its a pity – as I can sit here and see that it has been done – I don’t just know where to put the files. Its a mystery to me, that I can’t use the files as I can see, that some of the dashboard has been translated into danish – and working nicely…
Best Regards
MortenAugust 24, 2018 at 8:38 am #15277mbrsolution
ModeratorHi, I think Loco Translate plugin mentioned above in my previous post would be the best solution for you at the present. This would speed up things for you.
Regards
-
AuthorPosts
- You must be logged in to reply to this topic.