transbetacism
Forum Replies Created
-
Forum: Plugins
In reply to: [Flo Social] Flo Social not workingI have the same issue. Using the latest version of the plugin (2.3.4). Tested with multiple themes, including twentytwentyone.
I tested on my live site and it seems to be working. It must have been a problem with my local test environment.
But what about the styling of the Variations column in the e-mail (point 2 in the previous e-mail)? It is indented and it seems to use the slug rather than the name.
/Joakim
Update on point 3) I have tested and it work on simple products. But on variable products I don’t get an e-mail when it is back in stock.
Thanks, I can see that it has been added! A couple of things though:
- I think the Variations text is missing in the translations file (see red part of screenshot below) so I cannot translate it.
- The styling of the variant is weird (see blue part of screenshot below). It should say Skostorlek: 44 (uppercase S without line break) instead of skostorlek: 44 (lowercase s with a line break). Maybe you use the slug?
- I get an e-mail when I subscribe but no e-mail is sent out in my local test environment when the variant is back in stock…
- This reply was modified 7 years, 10 months ago by transbetacism.
Thanks, that works!
For future reference to others, I placed the translation here:
/wp-content/languages/woo-product-stock-alert/woo-product-stock-alert-sv_SE.mo
Actually I want to add some translations that are customized for my site. So it wouldn’t be good to include it in the plugin.
How do I get the translations to work while having them in the /wp-content/languages/plugins/ folder?
There’s just one more thing that needs to work for me to leave a 5/5 rating. I have added comment for that here:
https://www.ads-software.com/support/topic/cant-translate-plugin-2/#post-9080628
When that has been solved, then I will surely leave a 5/5 rating!
I want to transalte the plugin to Swedish. If I put my translation here it works:
/wp-content/plugins/woocommerce-product-stock-alert/languages/woo-product-stock-alert-sv_SE.mo
BUT then I will lose that file (and my translations) whenever I update the plugin. Best practice (from what I have understood) is to place the translation here:
/wp-content/languages/plugins/woo-product-stock-alert-sv_SE.mo
…but that doesn’t work (it doesn’t pick up the translated texts as it does when I put it in the plugin folder). Can you please advice how I can solve this? Have you coded the plugin according to the WordPress localization guidelines and used the correct text-domain?
Putting the translation under /wp-content/languages/plugins/ works for other plugins!
Thanks,
JoakimThanks, it works!
/Joakim
Thanks, it works now!