geitsupport
Forum Replies Created
-
Note to self: DEBUG is your friend. When I looked in the error log the error actually had to do with our theme. Thank you for your help and your patience.
Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationThank you for the explanation. I’ll contact woocommerce and see what they say.
Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationYes. I added a new message ID. I wanted to “translate” –>
%1$s shipped via %2$s on %3$s with tracking number %4$s
to
“Your order shipped via %2$s on %3$s with tracking number %4$s”
there was not a message id for “%1$s shipped via %2$s on %3$s with tracking number %4$s ”
so I created one.
Here is the code for the newly created entry
#. Shipment Order Note
#: includes/api-requests/class-wc-shipstation-api-shipnotify.php:268
#, php-format
msgid “%1$s shipped via %2$s on %3$s with tracking number %4$s”
msgstr “Your order shipped via %2$s on %3$s with tracking number %4$s”Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationThat’s what I’m trying to do.
The line of text I wanted to translate didn’t appear in the initial file so I created a new entry for the line that text.
Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationThe text I am trying to translate is a row that I had to add. Is the problem that your plugin was unable to pick up that string initially? Does that fact that I had to add it mean, that the plugin is unable to find that string to do the replace? Any help you could offer would be greatly appreciated.
thank you.
Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationHere is the code that I have added to the .pot file and .po file for this plugin
#. Shipment Order Note
#: includes/api-requests/class-wc-shipstation-api-shipnotify.php:268
#, php-format
msgid “%1$s shipped via %2$s on %3$s with tracking number %4$s”
msgstr “Your order shipped via %2$s on %3$s with tracking number %4$s”I did this based on the following code that also existed in both the .po and .pot files
#. 1) number of shipped items 2) total shipped items 3) order ID
#: includes/api-requests/class-wc-shipstation-api-shipnotify.php:284
#, php-format
msgid “Shipped %1$d out of %2$d items in order %3$s”
msgstr “Your order was shipped via %2$s on %3$s with tracking number %4$s”If I edit the php file referenced in both spots I can see that the second translate works.
Any advice you can give would greatly be appreciated.
Forum: Plugins
In reply to: [Loco Translate] ShipStation TranslationUPDATE: If I try to translate an already existing row in the translation file I see the results I expect. When I try to create a new row I have problems.