Home / Forums / WoodMart support forum / Estimate delivery date translation
Home › Forums › WoodMart support forum › Estimate delivery date translation
Estimate delivery date translation
- This topic has 17 replies, 2 voices, and was last updated 1 year, 8 months ago by
Artem Temos.
-
AuthorPosts
-
November 19, 2024 at 11:34 am #613307
francois.krikorianParticipantHello,
The long awaited addon is finally here. Works pretty good for my first test. Only issue is the translation not being applied.
– got the new woodmart.pot from : themes/woodmart/languages/
– used PoEdit Pro to translate the 5000+ strings
– saved the PO and MO on the correct format as : woodmart-fr_FR.mo and woodmart-fr_FR.po
– uploaded at : wp-content/languages/themes/The whole them is correctly saved in french but the Estimated Delivery is still in english.
Tweaked with :
.wd-est-del .wd-info-msg:before { content: "Dates de livraison estimées :"; font-weight: 900; color: #000; } .wd-est-del .wd-info-msg strong { display: none; }If you guys know how to fix it.
BTW: happy to see the CSS area is finally easily usable.
Kind regards.
November 19, 2024 at 3:03 pm #613419Hello,
We are glad that you like it 🙂
We need your admin access to check the translation issue.
Kind Regards
November 25, 2024 at 11:00 am #615403
francois.krikorianParticipantCredentials below.
You’ll have to ‘inspect’ the html code to see how I tricked to hide your text and replace by css
.wd-est-del .wd-info-msg:before { content: "Dates de livraison estimées :"; font-weight: 900; color: #000; } .wd-est-del .wd-info-msg strong { display: none; }November 25, 2024 at 11:35 am #615429Hello,
Could you please install the Loco Translate plugin and click on the Sync button for the translation for the theme? It should actualize the translation file, and then you will get all the strings from the latest update.
Kind Regards
November 25, 2024 at 12:33 pm #615474
francois.krikorianParticipantHello,
I did install. From Loco translate / Themes I have 4 different translations. While trying to sync the last 2 I get this :
Error: Blank response from server. Check console output for debugging information
Attachments:
You must be logged in to view attached files.November 25, 2024 at 1:26 pm #615522You need to delete all unnecessary translations and leave only once that you use to avoid conflicts. Let me know once you do this on your website.
November 25, 2024 at 1:31 pm #615525It looks like you have a problem with your server configuration, which doesn’t allow WordPress to edit files on your website. We tried to install the WP File Manager plugin, and it gave the same error.
November 25, 2024 at 2:47 pm #615558
francois.krikorianParticipantHello,
I did remove all other translations (they were on the theme folder and child them folder under languages). So there is only ONE translation. The SYNC does not work, but the values are actually good. The only thing different was that the variables were “fuzzy” orange. I changed that but it still does not work.
Last time I have an issue like that my solution for uploading the latest woodmart.pot in PoEDIT pro and puting back worked well.
Something else seemes off.
November 25, 2024 at 4:08 pm #615617Hello,
As we mentioned in our previous reply, it seems to be a server problem. You need to contact your hosting provider for help on this matter.
Kind Regards
November 25, 2024 at 4:32 pm #615653
francois.krikorianParticipantHello,
Sorry for not understanding the relation between a translation file which is inside my /language folder and server issues. Obviously, the server issue does not allow any other plugin (Loco for example) to modify such files. But putting the file by my self, (the correct translation from your .pot) should work ?
Kind regards.
November 25, 2024 at 5:50 pm #615690Hello,
Yes, it should work if you put it in the right location in wp-content/languages/themes. Make sure that you generated it from the latest version of the POT file in the theme folder.
Kind Regards
November 26, 2024 at 2:46 am #615833
francois.krikorianParticipantHi,
1) Downloaded the latest version from your theme.
2) Uploaded inside PoEdit & translated everything, made sure the variables for the estimated delivery (all of them have been translated (check the picture).
3) Uploaded in the correct directory (check picture)
4) Still not workingThe thing is that I do not believe it can be a “wrong file” or “directory” issue as the rest of the website is translated perfectly, so the directory is good. As for the correct file, its from the latest download i got from theme forest (just downloaded it again) and the variables for the ED are present.
Strange one, i guess.
Kind regards.
Attachments:
You must be logged in to view attached files.November 26, 2024 at 11:01 am #615920Hello,
Could you please send us your FTP so we can troubleshoot this issue?
Kind Regards
November 26, 2024 at 11:03 am #615923
francois.krikorianParticipantHello,
Could this be related :
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woo-discount-rules domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/mrclefs/www/wp-includes/functions.php on line 6114 Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/mrclefs/www/wp-includes/functions.php on line 6114 Notice: La fonction _load_textdomain_just_in_time a été appelée de façon incorrecte. Le chargement de la traduction pour le domaine woodmart a été déclenché trop tôt. Cela indique généralement que du code dans l’extension ou le thème s’exécute trop tôt. Les traductions doivent être chargées au moment de l’action init ou plus tard. Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 6.7.0.) in /home/mrclefs/www/wp-includes/functions.php on line 6114November 26, 2024 at 11:16 am #615938
francois.krikorianParticipantThanks
November 26, 2024 at 11:46 am #615966We have removed duplicated theme translations from other folders, and they are working correctly now. Please test from your end.
November 26, 2024 at 11:51 am #615968
francois.krikorianParticipantHi,
Where were they hiding?
Thanks a lot,
Its working perfectly. Sorry for the inconvenience.
You can close the topic.
November 26, 2024 at 12:20 pm #615988It was located in languages/plugins directory. Anyway, we are glad that it it sorted out. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Estimate delivery date translation’ is closed to new replies.
- You must be logged in to create new topics. Login / Register