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)

1
vote
0answers
8 views

Wordpress multilingual site using page-id.php files

I'm building a Wordpress site which I hope to offer in three languages namely: English Spanish French In the past I've always built out my sites by creating the pages via the backend, recording ...
-1
votes
0answers
13 views

Changing custom post type slug messed up translations

I've been trying to change custom post type slug from "services" to "products" the post is registered through a plugin that is bundled with the theme. I went to file of the plugin and change the ...
0
votes
0answers
36 views

Create slug for Custom Post Type Under two Parent Page with WPML

I would like this structure, WPML plugin with subdirectories, event default one. Desire structure: /en/2016-xxxx-xxx/ -> Page with Custom Template /en/2016-xxxx-xxx/term1/ -> Page with Custom ...
0
votes
0answers
17 views

WPML doesn't recognize WordPress standard template

I am using the WPML translation tool which works for most of the sites of my theme with its page builder (theme "enfold"). However, I have some custom templates like date.php or category-$.php. These ...
0
votes
1answer
25 views

CSS/JS not working in multi lang subdomain

I am facing a problem of loading the CSS and JS files, in the main language (when I type www.site.com) the style is working fine but when I change the language to English ( www.site.com/en/) the ...
-4
votes
1answer
160 views

Switch currency does not convert the amount in WPML and woocommerce?

am using woocommerce and WPML currency switcher The currency switcher is work in the product detail / product list page However, there are problems at the product cart / checkout page , 1) when I ...
0
votes
0answers
17 views

Unable to update the search.php title

After trying to translate the title string for the search results page, which up to now I was 100% was the search.php file in the theme, which was unsuccessful, I tried hardcoding the string into the ...
0
votes
0answers
24 views

Running WP with WPML behind reverse proxy being accessible from multiple TLDs

So my goal is run a multilingual (with WPML) WP Blog on an external server - external.com - (other than company server) and use the company server as a reverse proxy to display the blog content as if ...
0
votes
0answers
22 views

WPML: Custom query looping through languages & putting out one post each round

For a current project I use WPML to distinguish between languages and to manage authors/editors and what they are allowed to write and translate. While there are different language versions of the ...
0
votes
1answer
23 views

Reuse links in a post across different languages

I have posts in two languages, managed by WPML. In one post, I share multiple links which are updated in a regular basis. Updating the same links for both languages is not an option (for now I only ...
1
vote
1answer
93 views

Translate front page (WPML) [closed]

I'm setting up a website with four languages. I want to be able to translate the root page. I have set the website up so it serves translated content under different directories: www.domain.ch/de ...
0
votes
1answer
186 views

WPML - Auto Duplicate Post Issue

I'm using WPUF Pro form to submit a custom-post-type vehicle, through frontend. I added a custom function to auto-duplicate post on publish. I notice that when I got the Form in 2nd language (not ...
0
votes
1answer
20 views

Theme RTL semi work but with “?rtl=1” fully work

I have a theme which support RTL. RTL direction semi work with WPML plugin, but when I add ?rtl=1 to URL it work fully. I mean it switch direction in the correct way. How I can switch direction ...
0
votes
0answers
53 views

Prevent 404 header on archive pages of empty content (WPML)

Our site is reporting lots of broken links because of the WPML language changer on archive pages, as some languages don't have content for the specified dates. I'm able to display a different template ...
0
votes
0answers
43 views

Blog switch wpml string translation (multi-site)

I'm using wpml string translation on my main site, which pulls content from the other blogs, by doing a blog switch. This successfully gets english posts from the other sites if my main site is in ...
1
vote
2answers
30 views

Default string not appearing want to translate

I am trying to make my theme translatable so I am using the following command to output text. But its just returning an empty value some reason? No error is displayed <?php __('PLAYER POINTS AT A ...
0
votes
0answers
91 views

Emails are being sent using the backend language - Woocommerce + Wpml

I'm using Wordpress + Woocommerce + Wpml , and for some reason my 'new order' emails that are being sent to the customers are being sent using the backend admin language (which is -not- english be ...
0
votes
1answer
22 views

Theme isn't multilanguage ready. How can i still add a second language to the site?

I have to add a second language to a site i maintain. The client purchased WPML for that purpose. But a lot of stuff is missing on the WPML translated version: The whole "portfolio section" for ...
0
votes
0answers
45 views

WPML - Two different domains for two different languages. How to use a wildcard

I have a site that I have translated with WPML - and Im using two different domains for each language. I have defined sunrise in my wp-config and moved sunrise-php to my root folder. I then went to ...
0
votes
1answer
47 views

Wpdb empty result only if language is Russian

I'm having a little problem with wpdb query. I need to change content of an HTML select by changing another one ( simple and clean ), so, this is my query: $_queryString="SELECT stato_"....
0
votes
0answers
33 views

WPML custom lenguage slug in permalink

With WPML tranlation plugin is possible to change language slug in permalink for something like this: change "mysite.com/en/" to "mysite.com/my-site-in-english/" change "mysite.com/es/" to "mysite....
0
votes
1answer
65 views

Mysql SELECT posts

how i can get posts via MYSQL from posts where language is 'en' and 'ru' I have this query $sql = "SELECT p1.*, wm2.meta_value FROM wp_posts p1 LEFT JOIN wp_postmeta wm1 ON ( wm1.post_id = p1....
1
vote
1answer
237 views

WPML translate without duplicating post

This seems hard to explain, I don't seem to be able to come up with a google search that will give me what I need. I think the concept of the question is quite simple though: I'm building a site with ...
0
votes
0answers
19 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' => 'DESC',...
-1
votes
1answer
125 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
123 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
114 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
357 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
1answer
124 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 ...
1
vote
1answer
76 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
1answer
812 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 /home/user/domain.com/wp-content/plugins/...
0
votes
1answer
1k 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
1answer
126 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
110 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
620 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
445 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
994 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
157 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
206 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
232 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
3answers
1k 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 http://...
0
votes
0answers
273 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
86 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 class="...
0
votes
1answer
634 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
3k 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
3k 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" ...