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
10 views

How to show a non-translated post in a translated page? [on hold]

I have a website both in french and english. I have a specific type of post that visitors create, but it is only created in one language (french). How can I make that english visitors see the content ...
0
votes
0answers
14 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
11 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
16 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
63 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
77 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
55 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
36 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
55 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
41 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
408 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
190 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
236 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
56 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
141 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
164 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
598 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
155 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
63 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
424 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
1k 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
4k 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 ...
1
vote
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
182 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
148 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
857 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
79 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
195 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
1k 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
252 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
958 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
489 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 ...
1
vote
0answers
125 views

What would be the correct way to manage a multiple locale site with Wordpress [closed]

We are a professional company with lots of big clients and have adopted Wordpress 2 years ago to build professionnal grade websites. Being locate in a multiple language country, we have to make our ...
0
votes
1answer
174 views

WordPress Translation to french, at -> à not working

I have a german / french blog. I installed the german WordPress version, so I already had de_DE.mo and de_DE.po in wp-content/languages. After I realized that the content of a comment's ...
0
votes
1answer
659 views

Using Variable in WordPress Translate Functions

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

same comment list for two posts

I've an unique problem, I'm using WPML to translate my website. WPML takes post and duplicates it, so that translation becomes another post. Thus keeping Gallery/Comments/Ratings separate. I'm on ...
0
votes
1answer
105 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. ...
6
votes
1answer
201 views

Gettext details

I've got a few gettext() questions that are not covered anywhere in WordPress Codex but I think they are important. __('string') in THEME should be used for strings that are likely to be present ...
0
votes
2answers
413 views

Get all content on a “single page” site depending on language

I'm developing a "single page" WordPress based site that has content in multiple languages (using the plug-in WPML) and I need to retrieve it in a more efficient manner to avoid slow page load time. ...
1
vote
1answer
1k views

WPML tables not deleted when removing multisite subsite, need help clearing up my sql-file! [closed]

I´m building a WP Multisite for a client that wants a multilingual site. Before choosing WP Multisite, I bought and tried out WPML. However that plugin didn't fit for the job so I deleted it and got a ...
-1
votes
1answer
955 views

WPML - how to translate user profile fields with icl_t()? [closed]

Existing code somewhere in a template or shortcode handler, display user profile biography: <?php if ( $user ) : $bio = get_the_author_meta( 'description', $user->ID ); ?> <div ...
1
vote
2answers
785 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 ...
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: ...
6
votes
1answer
2k views

WPML with WP_Query serving up all 3 languages [closed]

I've got something about this on the WPML support forums, but I figured I could ask here as well. Here's the important info: I'm running a WP Multisite setup with custom post types, custom fields, ...