WPML ia a multilingual WordPress Plugin. WPML makes it easy to build multilingual sites and run them. It’s powerful enough for corporate sites, yet simple for blogs.

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

How to have an option updated (and translated) in the admin while using WPML?

I'm using WPML on our site and I'm currently building a plugin to hold translatable labels for this particular client. These options are being held in the wp_options table by adding an option called ...
0
votes
0answers
10 views

Product ur wrong when install WPML translation, Woo and use custom query wordpress

I use this query to get post from WooEcommerce product list: $data_sale = new WP_Query(array( 'posts_per_page' => -1, 'orderby' => 'date', 'order' => ...
0
votes
0answers
14 views

how to override a custom post created by the plugin types

how to override a custom post created by the plugin types. I need to add a slug for translated post. for exemple i have a custom post type named 'products' i need to add a slug 'produits' to the ...
0
votes
0answers
21 views

permalinks problems

I Created a custom post post Named 'Products' with the plugin Types. then I translated all products with the plugin WPML. then I used the plgin wp_permastructure to change the permalink structure to ...
0
votes
0answers
10 views

WPML Showing Existing Languages Across Multisite

I currently have all the languages that are needed set up on the main site however they are not showing on the sub sites however if I go to a sub site and try and add a "language" that already ...
-1
votes
1answer
27 views

Latest WPML updates broke my wordpress post categories and menus [closed]

After the latests wpml plugin updates my website is acting weird. It seems that somehow lost post categories, menus and other functionalities. If i go to post categories nothing comes up. I see that ...
0
votes
1answer
38 views

Set user admin language preference by lang parameter

A site I'm working on allows users to login and submit content for a directory listing. The site uses WPML to serve translations, but the WPML language switcher does not affect the admin interface. ...
0
votes
1answer
55 views

WPML - 404 Error when I try to pass GET parameters in my “different languages in directories” installation

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 ...
0
votes
0answers
150 views

WordPress 4.2.2: WPLANG vs Locale?

I am about to create a second language for a WordPress theme, using external .po / .mo files for all small sentences like "read more", "category archive", etc. The structure with www.mysite.com/de/ ...
0
votes
0answers
46 views

Custom post excerpt not translating in WooCommerce product page

I am trying to show the translation of an excerpt of custom post that is associated with a WooCommerce product. The excerpt always shows in default language but using the same code used to work for me ...
0
votes
0answers
27 views

Frontend + Backend Language based on User Setting

My Situation: Most recent Version of WordPress installed Multisite Environment WPML Plugin installed (Most recent Version) Goal: I'd like my Users to be able to Choose their Language at signup ...
0
votes
1answer
37 views

Fetch data from another site, but the same database

We have two WordPress sites (Site 1 and Site 2) in the same database, with different prefixes ("site_1_" and "site_2_"). Let's say we've got a custom post type named "stuff", which is in Site 1. We'd ...
0
votes
0answers
50 views

How to transfer Revolution Slider slides from WPML enabled site to one without it?

I manage multi-language site with WPML enabled, and have translated Revolution Slider slides. Now customer wants me to create similar sites on multiple domains (each language has one). When I ...
0
votes
0answers
120 views

WPML - Get translated custom post ID

I'm trying to use WPML function icl_object_id() to get the translated post ID, without any success. I used the same process to get pages IDs and it works. My custom post type is menu. ID of ...
0
votes
0answers
23 views

Fixed values for same post translations

I was recently implementing a custom post type in WordPress, and added WPML so I could translate it's title & content. This post type (city) also has some custom metaboxes (metabox.io) like: ...
0
votes
0answers
22 views

Per Language Sitemap

i have a WordPress multisite with WPML plugin installed on it. The site displays posts in multiple languages. What i need is a way to generate separate sitemap for each language. Languages data is ...
0
votes
0answers
36 views

Extract all strings in web site to send to translator

I need to extract all translatable data from wordpress to PO files in order to send it to a translation agency. Of course, I also need a mechanism for putting the translated text back, and extracting ...
0
votes
1answer
267 views

Cannot use object of type WP_Error as array

Using a WordPress Plugin WPML I have been getting this error on saving a draft post: PHP Fatal error: Cannot use object of type WP_Error as array in ...
0
votes
1answer
267 views

WPML customizing language selector [closed]

I want to show the language selector on my site but with the default include code "icl_language_selector" it shows the language full name. I only want to show the abbreviations of the language. For ...
0
votes
0answers
89 views

WPML. How to connect post translations from frontend form ( or throught php )?

My task is that user should be able to create posts from front-end. I'm using ACF plugin, for creating forms on front-end. My web is in 2 languages: Rus and Est. User can create on one of that ...
0
votes
0answers
46 views

Rewrite Rules with custom taxonomies not changing

I've been messing around with wordpress custom taxonomies recently in conjunction with advanced search queries and I'm trying to make search urls look prettier by using rewrite rules, these taxonomies ...
0
votes
1answer
82 views

WPML Default Language User Meta [closed]

I'm having a super hard time finding the names of the default user meta that's included with WPML. WPML has a setting for "Default Admin Language" under every user's profile. I'd like to access this ...
0
votes
1answer
60 views

Does WPML translate numbers automatically, or do I have to do the string translation? [closed]

I'm developing my site in English, and when I'm done, I'll be turning it into Arabic. I'm using a function and wondering whether I should wrap it into a gettext call for WPML to get or just leave it ...
0
votes
0answers
467 views

Archive page for a custom post type using WPML

On a website using WPML in last version, I have a Custom Post Type using an archive page, called archive-agenda.php. CPT is defined with this code : register_post_type('agenda', array( 'label' ...
0
votes
2answers
256 views

Error when upload images larger than 1024px [closed]

I'm stuck on a problem with uploading files. When I try to upload an image with 1024px or more, WordPress displays an error: Error sending. Try later. After reloading the media page, the thumb of ...
0
votes
1answer
403 views

How do I translate string inside jQuery script with WPML?

I've made this script for changing some colors on a custom element. My problem is that I can't find a way to localize the links in the href attribute. Is there an easy way for me to do this? /* ...
0
votes
1answer
71 views

Copying database tables to new database

am trying to migrate my old site to a new site, by only copying database tables. the reason doing this way is the old site is out of date with plugins etc and i have WooCommerce installed which i dont ...
1
vote
1answer
162 views

Getting a PHP Notice when using Pods with WPML [closed]

I have Pods and WPML installed, and I have SitePress Multilingual CMS extension installed for WPML, and I have many custom post types which I've added using Pods. Recently when I was checking the ...
0
votes
1answer
184 views

Changing the header image using WPML

I've got an issue with changing a header image based on language and the file path to the image. Have tried relative and absolute paths but still end up with a broken/missing file icon. In my ...
2
votes
2answers
739 views

Remove WPML's home_url filter

The WPML plugin filter's home_url in order to provide a link to the home page specific to the language you are viewing. (So if you are reading a Spanish page home_url() will point you to ...
0
votes
0answers
191 views

Hardcoding links to wp_nav_menu

I am currently trying to add a some links to the end of my wp_nav_menu but am having a hard time with the callback function that creates the list of languages I want to insert. The first function is ...
0
votes
1answer
73 views

Translate arguments of a user added custom code [closed]

I needed to hardcode some extra code to a existing portfolio-template. Now there are two arguments which values need to be translated: <a href="/news/" class="hover-on"> <div ...
0
votes
1answer
476 views

WPML language tags (Qtranslate feature) [closed]

I for many years used qtranslate plugin for translating my wordpress websites, but for now I decided to use other plugin, called WPML. And now I'm struggled with one problem: I am missing one ...
4
votes
3answers
2k views

Best pratice to make taxonomy terms translatable without changing slugs?

I have one custom taxonomy with countries and states. I'd like to make these terms translatable but I'm not sure what would be the best way to achieve this. First of all, I don't want the slugs to ...
0
votes
1answer
2k views

Translate placeholder text in search field

I want to translate the placeholder attribute in my search box. I am using the WPML-plugin to translate all text. How can I accomplish this? My code: <input type="search" class="search-field" ...
2
votes
1answer
5k views

How to get posts in different language from WPML Plugin [closed]

i'm using Thermal-Api plugin in order to define a REST WS to get posts in JSON format. My Client uses WPML to translate posts and i need to pass to WP_Query the language set in front-end side. Is ...
1
vote
2answers
1k views

Make theme translatable for WPML

I have been really hard time to get my site translated. I have MO and PO files, but my theme is not compatible with WPML and the developer team doesn't to change it. Therefore I may have to build a ...
1
vote
2answers
1k views

How to remove WPML Generator Meta Tag by theme's functions.php (override plugin function)? [closed]

I've tried hard to find a way to not let plugin WPML output the following <meta name="generator" content="WPML ver:2.8.1 stt:3,1;0" /> tag in <head> via help of theme's function.php: It's ...
3
votes
2answers
1k views

WPML Get url without outputting

I am in the process of migrating from qTranslate to WPML to handle my languages. With qTranslate, I had a very simple way to get an url to a page or post knowing it's slug: $url = ...
1
vote
0answers
198 views

Hook in to add new post link wp admin?

How can i customize the Add new post link or how can i add my custom parameter in add new post link like http://www.test.localhost/wp-admin/post-new.php looks like ...
1
vote
3answers
2k views

Find proper “text domain” within theme

I have a client with a wordpress theme, Nevada, and we are having trouble making the built in translations work for it. The theme contains .mo files for English, German, and Slovenian, and appear to ...
0
votes
3answers
163 views

English version of my site show french strings [closed]

This is a weird one : http://www.famille-labruyere.com/ is the french version of the site http://www.famille-labruyere.com/en/ is the english one The problem is that the english version show theme ...
4
votes
2answers
964 views

Rewrite url for custom post type

I'm using WPML plugin to translate my site. I have a custom post type called "vinos" and I use this args: $args = array( 'labels' => $labels, 'hierarchical' => false, ...
0
votes
2answers
80 views

Borrowing of Previously Translated Strings by Child Plugin

Gist: When writing an extension of a plugin, can the extension "borrow" the translations of the req'd parent plugin by using it's textdomain? Scenario: Let's say that there's a parent plugin, whose ...
0
votes
1answer
217 views

How to display WP Query filters?

I'm wondering if there is a way to display current WP Query filters. I wrote a function that is supported to delete all posts and it does but when I'm using WPML and it filters posts by language then ...
1
vote
1answer
2k views

Why isn't WMPL correctly redirecting users based on browser language? [closed]

Even though I have 'Browser language redirect' activated at WMPL's setup screen, users aren't being correctly redirected according to browser language. I currently have three languages selected: en ...
0
votes
1answer
277 views

Taxonomy page wpml dropdown not working

I have created the custom post type with the taxonomy product-categories. I have installed wpml and added the menu with the custom category. When the menu created using the custom post type category ...
1
vote
1answer
1k views

Theme localization in WPML - .mo file error [closed]

We are creating a multi-lingual multi-site (on sub-domains/domain mapping) on Wordpress. We recently bought WPML Wordpress plugin and installed it on the basic language (English) version. Now we are ...
0
votes
2answers
1k views

Cannot locate specific <a href> link/string using String Translation with WPML? [closed]

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 ...
0
votes
1answer
549 views

WPML icl_register_string() throws fatal error but works [closed]

I'm helping someone with a custom plugin and they need it to be WPML compatible. Using the method from WPML I was able to register a string in WPML and output it on the other end. However, when the ...