I do not know if this problem exists with other situations as well or not, but here is how I have encountered it. My website’s default language is Farsi and I have added English with WPML to it. The problem is that when I load my English links , the basic is_rtl() method still returns […]
I have used WPML multi currency for a while, but recently I turned it off and use the other currency plugin. Most of the amount have converted correctly, but for some amount still remain at the default currency even after I changed to another one: 1) Booking cost from Woocommerce Booking plugin 2) Extra option […]
How can I override add_filter of a plugin? like add_filter( ‘wcml_switch_currency_exception’, ‘cart_switching_currency’, 10, 4 ); I want to use my custom function instead “cart_switching_currency” function.
I have a (client) site located at http://internationalgateway.us/. We are using the WPML Multilingual CMS plugin. When choosing another language from the homepage (in this case French, since that’s the only one enabled), I encounter a redirect loop. This can also be experienced just by visiting http://internationalgateway.us/fr. It appears as though an extra trailing slash […]
I just installed a WPML, but my custom post types is showing just in default language, if I am switching to other languages, it will show the same posts as default language, but in wordpress panel they are translated. Part of my code in function.php $args = array( ‘labels’ => $labels, ‘public’ => true, ‘publicly_queryable’ […]
I need to change the language of some 500 posts in a site that uses WPML. Currently all of them are set to English, but are in fact in Spanish. What is the fastest way to do so? It is possible to get the IDs of all of the posts.
I am using WPML as a languages solution in my blog (in my case it’s English and Spanish) I would like to know if there is a simple way of detecting where is a user coming from (which country.. I believe by IP) and redirect him immediately to either the Spanish site or the English […]
I have added a link on the footer of my page in the format <a href=”URL”>Link</a> I would like to allow wmpl to translate it in french and have tried scanning my theme but the link’s text doesn’t appear in the string translation manager in the dashboard. After reading this: http://wpml.org/faq/language-setup/ I have tried wrapping […]
From everything I’ve read, you should only translate text strings via the WP translation functions like _e() or __(). However, I need a way to translate content submitted via a form. Is there some solution that will allow me to translate text outputted in a variable? Here’s what I’m doing: I’m working on a plugin […]
I’m using WPML installation with the languages in different directories. But I’m trying to pass some _$GET parameters to the url and I’m getting the 404 error. I’m passing the _$GET parameters with a link. Just like this: $link_aqui_se_sirve = get_permalink( get_page_by_path(‘donde’) ); $taxonomia_estados = get_terms(‘estados’); foreach ( $taxonomia_estados as $tax ) : $nombre_estado = […]