grzegorzK-16
|
H!
Yesterday I got from Blocksy your errata:
https://wpml.org/errata/l10n-php-performant-default-translated-strings-not-displaying-correctly/
But, I am not sure it is for my issue. The description of the errata does not match my issue.
But I have checked if the errata fixes my issue. First of all, I have updated the Blocksy Companion plugin. So your workaround was removed.
I have opened the server. And I was surprised. Probably my knowledge about managing server files is poor.
There are two files with the same title but differently written:
• LoadedMODictionary.php
• loadedmodictionary.php
In the errata, you ask to modify the LoadedMODictionary.php file. I tried to do it but without success. The LoadedMODictionary.php file returned to a state without errata every time.
Next, I noticed that errata already exist in the loadedmodictionary.php file.
So I assumed that the errata was already implemented and that I could check if it solved my issue.
I have registered a new user in the Polish blog version. Unfortunately, I got English info about successfully creating an account.
To get it in Polish I had to implement your workaround to the Blocksy Companion file (account-auth.php) once again.
Please, see the attached image.
regards,
Grzegorz
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
FYI, there is only one file LoadedMODictionary.php (uppercase) in the folder wp-content/plugins/wpml-string-translation/classes/MO/.
I will share your feedback with our 2nd tier support. For now, you can keep using the previous workaround to show the translation strings on your site.
Thanks.
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Hi,
Can you please share your site credentials (wp-admin and FTP)? We will check the issue on your site again. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
Thanks.
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Hi,
The username or password is incorrect. Can you please recheck this?
Regarding two files, I suggest you take a fresh copy of WPML String Translation and re-install it on your site to see if it helps. You can download the plugin file here https://wpml.org/download/wpml-string-translation/?section=changelog
Looking forward to your reply.
Thanks
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Hi,
You can just download the plugin, upload it to your site and replace the current plugin with the new upload. All options are intact.
I also apply the new workaround on your site and the translation strings displayed correctly in the frontend.
Please recheck this and let me know how it goes.
|
grzegorzK-16 |
Hi!
It seems that replacing .mo -> mo helps and fixes my issue.
But please read what I have done:
After uploading and updating the WPML String Translation plugin I had two files again:
- LoadedMODictionary.php
- loadedmodictionary.php
And the fix did not work.
So I decided to remove the WPML String Translation plugin and install it from scratch. But still, I had two files in my server.
The last operation helped:
1) I have deleted LoadedMODictionary.php file
2) I changed the name of the remaining file:
loadedmodictionary.php -> LoadedMODictionary.php
3) I have checked if in the file there is 'mo' (without dot). I do not remember if I had to replace '.mo' with 'mo'. Probably not.
Now it works!
Last questions:
1) Can I be sure that in the next plugin versions, I will not have two files (loadedmodictionary.php and LoadedMODictionary.php)?
2) Can I be sure that there will be 'mo' without a dot in the next plugin versions?
regards,
Grzegorz
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Hi,
We limit one issue per ticket only so I will split your issue with duplicating file into a new ticket for better handling.
Regarding the workaround to fix the translation string, this issue has been escalated to our development team, you can keep using the workaround until it is included in an update.
Thanks.
|
grzegorzK-16
|
So, can we consider the "registration info - translation issue" problem solved and closed? Thank you very much for your help:)
Grzegorz
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Yes, thanks. Feel free to contact us again if you have any questions.
Have a good day!
|
grzegorzK-16
|
I am pleased that the problem has been resolved.
It was important to me.
Thank you for being so helpful!
Grzegorz
|