Home › Forums › Legacy Support › Support queries › Translation issues › Translate Reset Password Ajax Login
- This topic has 36 replies, 4 voices, and was last updated 4 years, 5 months ago by MrVibe.
-
AuthorPosts
-
March 20, 2020 at 12:16 am #246443kenetorkParticipantI need help on translating the forgot pass and reset, those strings I cannot find the string using loco. refer. https://prnt.sc/rjbxhh Thanks!March 20, 2020 at 7:11 am #246478VeronicaModeratorhi, refer this tip: https://wordpress.org/support/topic/reset-password-forgot-password-not-working-in-translation/ but as you can see the issue is resolved. for translate ou have to follow this tip:
you need to copy the translations file into a global folder, which is wp-content >> language.
note: in your case strings are coming from buddypress plugin and wplms theme. please search your string in these folders. please have a look at video for better understand.
you need to translate every string from all plugins and theme. translated them one by one. On every update local files will be affected so that you need to put these translated files into global folders. it will prevent string loss from the update.
here is how you can achieve this.
Note: in this, I am using my local test setup site language which is "Português do Brasil". you have to select your site language.
Always sync and save the pot file refer: http://prntscr.com/ng3kbk
Note: Always copy local .Po | .Mo files into the global folder. it will prevent from translation string loss while updating theme/ plugins.
How could you do this: https://screencast-o-matic.com/watch/cqfQh6ZllK
In this video,
- i have checked the site language from wp-admin > settings > general > site language.
- then goto wp-admin > loco translate > theme/plugin > theme name / plugin name.
- Copy author file to system file.
- the author stands for local file and the system stands for the global file.
- once your done copying. from now you have to translate a string in global (system) file.
These steps should be followed for all plugins and themes in which you are making any changes.
March 21, 2020 at 3:10 am #246630kenetorkParticipantI did all that, my theme is almost entirely translated, besides this issues, I did that system thing for everything themes and plugins, could you please explain about this ajax strings, where are those located? I don't want to edit php code, not useful and nor useful of the site is updated with a new wplms version. Please take a look at that ajax pop up, click on forget password so you can see what kind of things are coming up, lines like "back to login" "get reset password link", if you translated this in your theme, let me know which plugin, I looked for those strings and every plugin and the them as well, but i can't find those, please look in your site and tell me where so I can fix this soon, thanks!March 23, 2020 at 5:18 am #246834VeronicaModeratorhi, basically all login and registration string are coming from wplms theme and buddypress plugin. but if you are not able to translate it from plugins and them we can translate it through custom codes using jQuery. please let me know.March 23, 2020 at 5:47 am #246839kenetorkParticipantI went to buddypress plugin and I can't find those strings, will you be including those strings for the next update? If you can help me translating this, please do it, I really need to have thos done, my users don't speak english. Thanks!March 24, 2020 at 4:22 am #246987VeronicaModeratorhi, you can make use of these custom codes to translate it. add this code in wp-admin > WPLMS > Footer > Google Analytics Code "with script tag" <script> jQuery(document).ready(function($){ $('.inside_login_form div#wplms_forgot_password_form button#vbp_forgot_password').text(' Complete Registro'); }); jQuery(document).ready(function($){ $('.inside_login_form div#wplms_forgot_password_form a.back_to_login.small').text(' Complete Registro'); }); </script> change the text "complete registro" as per your need. https://prnt.sc/rlm11pMarch 24, 2020 at 6:33 am #247010kenetorkParticipantThanks that worked for 2 strings, but if you could tell me now how to translate th string for the field: Enter registered email Id and after clickng the reset password this message shows up: PLEASE CHECK YOUR EMAIL FOR PASSWORD RECOVERY And I need to translate that as well please. Thanks!March 25, 2020 at 12:50 pm #247276VeronicaModeratorrefer: https://prnt.sc/rmi8mz and this https://prnt.sc/rmi9x4 these translation have to be done through wplms theme! have you sync it properly in the global folder with system not author!March 26, 2020 at 7:57 am #247381kenetorkParticipantSo, I need to edit that inside the code, right? Thing is I will have to be translating that everytime WPLMS updates. Any workaround for that?March 27, 2020 at 7:43 am #247589JacksonBlockedplease use loco translate to translate this string in theme folder. here is the complete guide: https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/March 27, 2020 at 7:56 am #247591kenetorkParticipantYes, I am using LOCO, I know that, please help me, if you want to get inside I can give you credetncials so you can try to find thosestrings, I can't I have looked for them, but they are not getting found! Waiting for your HELP!March 27, 2020 at 7:57 am #247592kenetorkParticipantThis reply has been marked as private.March 30, 2020 at 3:21 pm #248015JacksonBlockedyou have to use this code : in the wp-admin >> wplms >> google analytics codes >> footer.
<script>
jQuery(document).ready(function($){
$('.popup_login div#wplms_forgot_password_form input.form_field').attr('placeholder', 'NEw text for this area');
});
</script>
March 30, 2020 at 9:53 pm #248057kenetorkParticipantPerfect, that fixed the "Enter registered email Id" Now I still need to translate the strings after writing the email and pressing send, they show this 2: PLEASE CHECK YOUR EMAIL FOR PASSWORD RECOVERY and if there is no email it shows this. INVALID EMAIL ENTERED! Please help me with just those 2 and this is fixed completely! ThanksMarch 31, 2020 at 1:55 pm #248162JacksonBlockedhello, this is coming from wplms theme folder. refer: https://prnt.sc/rq6s44 before updating the string dont forget to sync the pot. hit the sync button before save then translate the string and then save it. Note: if using cache plugin then clear browsers cahe. -
AuthorPosts
- The topic ‘Translate Reset Password Ajax Login’ is closed to new replies.