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
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
0answers
19 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 ...
-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
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 ...
0
votes
1answer
53 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
149 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
45 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
23 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
36 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
49 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 ...
2
votes
4answers
2k views

Unable to display multiple post types in same query (WPML WP_Query)

I'm sure there's some very easy explaination for this, but I'm stuck. I am just trying to put a nice, simple recent posts element on the front-page of a site and for some reason when I try to use: ...
0
votes
0answers
114 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
34 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
266 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
261 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
45 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 ...
4
votes
2answers
960 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
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
255 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
400 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
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" ...
1
vote
2answers
802 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
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 ...
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 ...
0
votes
1answer
70 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 ...
0
votes
1answer
107 views

Use specific language for comment section

On some pages I have the possibility to write a comment (name, email, website, comment). The labels are now in my default language. Now I want to use the English labels for the whole comment section. ...
0
votes
2answers
2k views

WPML taxonomies not translated

I'm using WPML for multi-language website. It works really well except for custom taxonomies. In admin, I can only join foreign posts to foreign taxonomies (which is exactly what it should do) but on ...
1
vote
1answer
160 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
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
183 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 ...
1
vote
2answers
1k views

WPML Translated Term

Since I posted on their forum and I didn't got any answer, here I am, asking the same question again. So: I made a script that add the posibility to add an image and change the order for the terms of ...
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 ...
2
votes
2answers
735 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 ...
5
votes
3answers
5k views

Open Source replacement for WPML? [closed]

Since WPML is not free anymore and still one of the most used Wordpress Translation Plugins, is there an open source project that keeps development going? Or something similar that replaces it? I ...
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 ...
2
votes
2answers
7k views

Checking current language in a function

I am running WordPress with "WPML Multilingual CMS", so that it has multiple language versions. In a function used with add_action('template_redirect',<functionname>), I need to find out what ...
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 ...
0
votes
2answers
3k views

Redirect user based on his language and country using WPML [closed]

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 ...
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 = ...