Simple Membership Plugin › Forums › Simple Membership Plugin › SMWP Login Widget: translation issues?
- This topic has 15 replies, 2 voices, and was last updated 9 years, 1 month ago by
sub001.
-
AuthorPosts
-
October 14, 2017 at 5:47 pm #12152
sub001
ParticipantHi,
I have been able to correct/add/modify most of the translated messages, but I cannot find a way to fix these two:
- Edit Profile
- account_state
https://www.screencast.com/t/Xnibilh9McgM– shows the widget in action.https://www.screencast.com/t/9BQa9sCvlvn– shows the contents of the .mo file in Poedit.The language is Hungarian.
Please advise, thanks!
October 15, 2017 at 5:23 am #12162mbrsolution
ModeratorHi, can you check the following path /wp-content/languages/plugins/. Do you see the Hungarian language file for Simple Membership plugin? If you do can you delete it. Only carry out this action if you have updated the Hungarian language file in the following path /wp-content/plugins/simple-membership/languages/.
Let me know how you go.
Regards
October 15, 2017 at 6:52 am #12166sub001
ParticipantThere is no Hungarian language file for the SM plugin in that folder
https://www.screencast.com/t/sbv65iQA.October 15, 2017 at 10:29 pm #12172mbrsolution
ModeratorHi, which folder are you referring too?
Thank you
October 16, 2017 at 5:24 am #12180sub001
Participant/wp-content/languages/plugins/
October 16, 2017 at 9:21 pm #12182mbrsolution
ModeratorHi, do you by any chance have a cache plugin? If you do, did you clear your cache plugin? Are you currently using any addons?
October 16, 2017 at 9:50 pm #12184sub001
ParticipantHi,
No, I’m not using any caching plugin at the moment.
Add-ons:
- Simple Membership After Login Redirection
- SWPM Partial Protection
- SWPM Show Member Info
October 16, 2017 at 10:05 pm #12185mbrsolution
ModeratorI just tested my Spanish site and it is working for me. There must be a plugin conflicting with your current set up. Can you carry out the following test.
Thank you
October 16, 2017 at 10:15 pm #12186mbrsolution
ModeratorHi, I forgot to mentioned that for the Edit Profile link. This is linked to the profile page created by the plugin. This page has to be edited in your language.
In regards to the expired part, you might be correct. I will contact the plugin developers to investigate further this issue.
Sorry about this.
Kind regards
October 17, 2017 at 6:00 am #12190sub001
ParticipantHi,
Thanks for your continued support. I carried out both conflict tests. The “Edit Profile” text still appears with everything turned off and on the default theme, twentyseventeen. Btw, I’m using the shortcode in a widget (although, that shouldn’t make a difference).
The Profile page exists and displays properly, if that’s what you mean.
Any other ideas or workarounds?
Thanks!
Edit: One thing I didn’t mention before is that the Hungarian .mo file nor the .pot file contain the “Edit Profile” entry. Maybe it needs to be added?
October 17, 2017 at 7:05 am #12192mbrsolution
ModeratorHi, the string is there. You can see the string in the following URL.
Make sure you are using the latest simple-membership.pot file to create your po and mo Hungarian language files.
October 17, 2017 at 8:04 am #12193sub001
ParticipantSorry, I just can’t find it!
I downloaded a fresh version of the plugin (ZIP file) from both, simple-membership-plugin.com and also from wordpress.org. Btw, the .pot/.mo files use different naming convention depending on where they are downloaded from (‘simple-membership’ on wordpress.org and ‘smwp’ on simple-membership-plugin.com).
But, I couldn’t find ‘Edit Profile’ in ANY of the language files. Maybe I’m searching for it the wrong way?
1. Open Poedit.
2. Open the file in question (.pot or _HU.po)
3. Search for ‘edit profile’, ‘profile’ or ‘edit’ (Ctrl+F)
4. Going through all occurrences.Btw, I added the correct translation via WordPress Translate.
October 17, 2017 at 8:32 am #12194mbrsolution
ModeratorHi, I did see your addition to WordPress translation. Unfortunately if no one is going to approve it then it will not be included in the current version and it will get downloaded to your server. See if you can export the files from WordPress translation.
October 17, 2017 at 8:40 am #12195sub001
ParticipantThanks! I’m doing just that, right now (exporting).
However, couldn’t you just add a ‘Edit Profile’ entry to your local files (and the WordPress download file)?
At my end, I need to be compiling (and fixing) translations from 3 sources: simple-membership-plugin.com, WordPress Plugins and WordPress Translate.
Edit: I just modified the .pot file, myself. It is working now, properly (except for the account_state part).
#: simple-membership/views/loggedin.php:26 msgid "Edit Profile" msgstr ""October 17, 2017 at 9:17 am #12196mbrsolution
ModeratorUnfortunately I don’t have the latest pot file. I maintain the translations from WordPress.
Sorry for this.
-
AuthorPosts
- You must be logged in to reply to this topic.