Forum Replies Created
-
AuthorPosts
-
April 19, 2022 at 10:12 am in reply to: use the Simple WP Membership Plugin on a site with multiple language versions #23797
AntonieP
ParticipantHello,
I tried the tweak, but unfortunately it doesn’t work for me. When I follow the Links in the German language version I always are landing on the default (Danish) version of the plugin sites. When I THEN click at the German flag it changes to the German version of the current (Login / Join) site – but it is not possible to navigate to the German sites directly…
Is it possible that I can post the modified code privately so you can take a look and see what went wrong?Thank you.
April 14, 2022 at 8:54 am in reply to: use the Simple WP Membership Plugin on a site with multiple language versions #23790AntonieP
ParticipantHello and thanks for the link to the tweak. I’ll definitely try that.
Is this solution (Switch Login and Join-us URL by Site Language / Modification of the “get_login_link()” function in the classes/class.swpm-utils-misc.php file.) update-safe?
I also have the problem with the update security with the po and mo language files – is there a way to replace files in the plugin in such a way that they are not automatically overwritten during an update?
Thanks for further help 🙂
AntonieMarch 7, 2022 at 9:53 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23696AntonieP
ParticipantHello,
after updating the SM Plugin, the Mini Login Widget on the Danish site is in English again… I had to replace it again with the new file (see above).
Best regards,
AntonieFebruary 17, 2022 at 10:25 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23631AntonieP
ParticipantHello mbrsolution,
Many thanks, even if it’s a pity that the problem can’t be solved the way Poedit actually intended – that the users can update the .po with the .pot theirselves – without the developers having to manually add translations in the individual languages…
I have now checked (with MS Excel) which entries of the .pot are missing in the .po (generated from the dev you kindly linked for me above).The 32 missing entries in the dev-pot are:
Address
Allowed characters are: letters, numbers and .-_*@
Already a member of this level.
Already taken.
Apt, Suite, Bldg. (optional)
Check this box to delete the image. The image will be deleted when you save the profile.
Clear Search
Field has invalid character
Level
Member Directory
Membership level has been updated.
Password does not match
Please check at least one.
Please enter any two digits with no spaces (Example: 12)
Please enter any two digits with no spaces (Example: 12)*
Postal / Zip Code
Registration is complete. You can now log into the site.
Retype password here
Search…
State / Province / Region
Street Address
This content is for members only.
translators: %1$d is error code; %2$s is error message.
translators: %1$s is expected amount, %2$s is expected currency.
Type password here
Username can only contain: letters, numbers and .-*@
Username or Email
Verification
You do not have permission to view this content.
You must be logged in to upgrade a membership.
You will need to re-login since you changed your password.
Your membership level does not have permission to view this content.—-
Thank you for working on permanently solving the problem of the missing entries in the translation files (error message when trying to update the .po files with the .pot), also with regard to future updates.
Best regards and thank you for the good communication and your helpfulness.
AntonieFebruary 16, 2022 at 8:49 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23626AntonieP
ParticipantHello mbrsolution,
Thank you for the link to export the currently translated terms!
I’ve used the exported file to replace the .po and .mo files included in the plugin for Danish, and the mini login widget is now Danish – yeah!Unfortunately, not all keywords from the .pot file are included in the linked translation table either, e.g. “Username or Email” is missing from the login mask, which means that no translation can be added for it either. It is not included in the table (not even without translation), only in the .pot (template), and also when I try to use Poedit to update the .po file generated today (via the link and export) with the .pot (to add the missing terms), I unfortunately get an error message again….
How is it possible to add the term “Username or Email” and possibly other missing terms to the Danish po file or the translation table as a new line?
Thank you very much.
AntonieFebruary 15, 2022 at 8:13 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23616AntonieP
ParticipantHello again,
I would like to ask about the current status a week later, as I have not heard anything from the developers. In the meantime I have installed the current update, but the concerned files have not changed.
The Mini Login Widget on my client’s Danish website is still in English and I would like to add the missing danish translations without having to discard the existing language file (.po) or its content.
The Poedit error message when I want to update the .po file from the .pot is what I wrote above.Is it possible for you to provide an updated complete danish .po file with ALL 620 entries of the .pot file, the 196 already translated and – as placeholders – the English translation for the not-translated? Then, based on this file, we (me and my customer) could add the necessary translations for the Mini Login Widget, and I could then make this completed file available to other users as well (if you could tell me, how).
Thank you for your help.
AntonieFebruary 8, 2022 at 7:32 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23589AntonieP
ParticipantThank you very much. Then I wait for their answer.
February 7, 2022 at 11:00 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23583AntonieP
ParticipantHello mbrsolution,
thank you.
The po-file has 196 entries and all are translated, so it is not possible to add the missing translations in the existing .po-file.
I tried the loco-translate-Plugin – it is the same, it shows, that the plugin is translated to 100% 🙁 (That means only the 196 existing translations, not the missing for the Mini Login Widget!)Is it possible for you to provide an updated complete danish .po file with ALL 620 entries of the .pot file, the 196 already translated and – as placeholders – the English translation for the not-translated? Then, based on this file, we (me and my customer) could add the necessary translations for the Mini Login Widget, and I could then make this completed file available to other users as well.
As described first, I wanted to update the .po file myself using the .pot, but Poedit always gave me an error message that the language file was faulty (see first thread)
Many thanks in advance and best regards
AntonieFebruary 7, 2022 at 8:00 am in reply to: Mini Login Widget not translated / Problems with Danish .po- and .pot-files #23578AntonieP
ParticipantHello mbrsolution,
I have already followed the documentation you was so kind to link for me BEFORE I opened the thread.
As I wrote, the problem is, that I don’t want to dismiss the 120 entries already existing in the .mo-file – because I have to REPLACE the existing .po-file if I want to create it new from the .pot. Or (that would be best) is there a possibility to use more than one .mo-file for one language? If so, how can I “tell” the Plugin there are more than one and how to “find” them?
Thank you very much for help.
Antonie -
AuthorPosts