Problem:
I'm using this method https://wisdmlabs.com/blog/add-taxonomy-term-custom-post-permalinks-wordpress/ to create a CPT, my custom taxonomy and a rewrite rule to add taxonomy terms to my permalink structure. I'm trying to translate my Custom post type slug using WPML. I have already translated the content of the slug using WPML, but I have got a 404 error.
Solution:
This would require some custom rewrite rules via "add_rewrite_rule".
Problem:
French Canadian pricing uses he dollar sign after the number i.e. 22.00$ not $22.00
Is there an easy way to accommodate this for the translated side of the site?
Solution:
To configure the currency for the secondary language of your website please follow these steps:
- Navigate to WooCommerce -> WooCommerce Multilingual -> Multi-currency tab
- Enable the multi-currency mode if it's not enabled already and click on 'Add currency'
- Select 'Canadian Dollar' and pick an exchange rate for it
- Mark the Currency position as 'Right' and save it
- Finally, please enable the new added currency to the desired language and click on 'Save changes' at the bottom of the page
Now, when users switch to the secondary language, they'll see the new currency you created.
Additionally, you can check about adding a currency switcher.
With this option you are able to switch currencies without even having to access the translated version of your website.
Problem:
Plugin strings not translating after WPML default language change.
Solution:
Delete and recreate the translation strings in the WordPress admin dashboard, under WPML → Translations.
In WPML → Translations, find the string - you can select domain of your plugin in the "Select strings within domain:" drop-down and use the "Search for:" field and search for part of the string to be translated
Select all occurrences of the string and click "Delete selected strings" button - before this please copy the existing translations and save them somewhere for the later step
At the bottom of the same page, in "Auto register strings for translation", activate the "Look for strings while pages are rendered" checkbox
Reload the front end where plugin is active - plugin code should execute when the page is refreshed
Go back to WPML → Translations, clear the "Look for strings while pages are rendered" checkbox, and perform the same search for the string again, it should show up on the list as "Not translated"
Insert your saved translation from step 2, save, mark "translation is complete"
The translated string should now show up on the front end.
Problem:
here was a problem that happened when you tried to link WooCommerce categories using URL by parameters using the text UX Builder shortcode and you used Sticky links.
It seems to happen only when you link child categories in WooCommerce. and the result is that from a link like this:
Problem:
Unable to list all WPML plugin in Plugins > Add New > Commercial tabs it displays the text "No repositories defined"
Solution:
Search for the option_name wp_installer_settings in wp_options table and rename the option_name to something else, This will reset the installer config and resolve the issue