Mikko Siikaniemi
Forum Replies Created
-
Thanks Maciej for your quick reply and solution. Looking forward for the next version.
In addition, there are focusable elements inside the settings popup. These should be made non-focusable when the popup is hidden with “aria-hidden”.
See possible solutions at https://dequeuniversity.com/rules/axe/3.3/aria-hidden-focus
One solution proposal:
.cli-modal[aria-hidden="true"] { a, button { display: none; } }
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Translating titles with PolylangHi beatrris,
yes, I was able to do the translations. Just create a new folder called
polylang
underwp-content
folder, and create a file calledwpml-config.xml
in there, with contents below.<wpml-config> <admin-texts> <key name="wbs_config"> <key name="rules" > <key name="0" > <key name="meta" > <key name="title" /> <key name="label" /> </key> </key> <key name="1" > <key name="meta" > <key name="title" /> <key name="label" /> </key> </key> <key name="2" > <key name="meta" > <key name="title" /> <key name="label" /> </key> </key> </key> </key> </admin-texts> </wpml-config>
The file is built for three shipping rules. If you need to add more, just duplicate those
key name="x"
nodes and number them accordingly.After this, you should see the shipping titles as translatable under your Polylang’s string translation menu in wp-admin.
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Translating titles with PolylangHi Dan,
I got the instructions from Polylang support. They have support for WPML config files, and a appropriately formatted config file makes it possible to translate the WBS shipping titles and labels.
Thanks for your help on finding the answer!
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Translating titles with PolylangHi Dan,
thanks for your thorough reply and explanation. I understand it is not feasible to support integration for several different translation plugins.
I will submit a feature request to Polylang to find out more. I’ll let you know how it goes.
Is it possible to hook into the shipping method titles, to register strings for translation programmatically myself, and then return the translated strings?
Forum: Plugins
In reply to: [WooCommerce Weight Based Shipping] Translating titles with PolylangHi Dan,
thanks for your quick reply. Polylang has similar string translation feature, but the shipping options’ titles do not seem to appear in the list of strings. Would it be possible to add support for translation? Please see Polylang documentation for reference; it is quite easy to register strings to be translated.
Forum: Plugins
In reply to: [Simple Cache] Fatal error after last updateI had the same error appearing on my site. I purged the cache, deactivated and re-activated the plugin. Everything seems to be in order again. Don’t know why the error was thrown, though.
Forum: Plugins
In reply to: [Safe SVG] SVG sanitizing strips out ARIA attributesThanks Daryll, amazingly fast patch to fix the issue! Everything seems to be in order. Cheers!
Sure Josh, you can find version 3.1.4 now in my Dropbox.
Downgraded to version 3.1.5 (found it in a backup), problem persisted. Downgraded to 3.1.4 and it works as should.
I noticed this odd behavior too, and came here looking for help. I’m running the latest version 3.1.6. I did not notice this erronous behavior before. Going to downgrade and see if works properly.