 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
My apologies, I can see now that this is still not the case for all the text domains. I will keep testing.
|
 daivyM
|
OK, waiting for your investigations, then 🙂
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
While investigating this issue, I realized a Collation problem in your database.
- The database itself is set to "latin1_swedish_ci" and should also use "utf8mb4_unicode_520_ci".
- All tables and affected table rows should use "utf8mb4_unicode_520_ci".
I have fixed those issues partially on the local copy of your site.
After that, I rescanned the plugins for new strings and it appears to have solved the issue.
Would you like me to send you a copy of the partially fixed database?
|
 daivyM
|
What should I do on the production on the live website then ?
I would like to access the staging website but it seems you changed the password.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
No, I did not change the password on the staging site.
I took a local copy of the site, fixed all the DB collation issues manually on most of the tables, cleaned up the string tables, then scanned again for new strings and created the custom language files for WPML.
I can send you a copy of this database, or you first contact your hosting support team and ask them for assistance in fixing the collation issues inside your database.
|
 daivyM
|
Hello,
All the tables and rows on the staging website now use "utf8mb4_unicode_520_ci".
However, I am still not able to use the dialog box to scan string translations. Could you look at it ?
Regards
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
You first need to go to Dashboard > Updates > Translations > Download translations to obtain all the default po-files.
Then go to WPML > Theme & Plugin Localization and scan the theme and plugins for new strings.
Somehow, when trying to scan for new strings my browser after some times shows this error:
Could you please give it a try yourself now, and once you completed the scan, please let me know.
|
 daivyM
|
Same error.
I only selected the woocommerce plugin for scanning, but still no update translations for this one.
Problem is not resolved 🙁
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
I would like to confirm if the collation issues have been solved properly, but I am not allowed to use any plugin to manage the database on your site.
Please provide me access to the database and I will be glad to assist you further.
The private reply form is enabled again.
|
 daivyM
|
Hello,
You mean having access to phpmyadmin ? This will be difficult to give you access to this, but here is a screenshot showing that all the tables and rows on the staging website now use "utf8mb4_unicode_520_ci" : hidden link
If you only need to use WordPress, I already gave you the credentials for the admin password.
Please tell how I can help.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
You would need to make this adjustment also for the single rows on each table.
Is this the case?
|
 daivyM
|
Yes. I used the Operations -> Collation tools for that.
See attached picture.
If I may make one criticism, I find your support painfully slow. I've had the ticket open since the end of September, and the problem still hasn't been solved.
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
I am really sorry for the delay, but this is a very unexpected issue and I have spent a lot of time in investigating it.
On your staging, as a test, I removed the custom mo files from /wp-content/languages/wpml. I took a local backup of the folder and trestored it after my test.
While the folder was empty, I went to WPML > Support > Troubleshooting and force the dialog to create custom .mo language files and the dialog will not start.
The reason for this usually is missing write permission on the folders on the server.
Guide:
https://wpml.org/faq/cannot-write-mo-files/#:~:text=WPML%20needs%20the%20languages%20folder%20in%20WordPress%20to%20be%20writable
|
 daivyM
|
I appreciate your dedication and would like to thank you.
The WPML folder has the correct permissions (755), but not the .mo files (644).
Please check my sreenshots.
Should I change .mo permission to 755 ?
|