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)

12
votes
7answers
42k views

Best Wordpress Multi-language Plugin? [closed]

What is the best multi-language plugin for WordPress? WordPress does not have multi-language support itself, so you need to use a plugin to obtain multi-language functionality. Do not suggest the ...
7
votes
1answer
2k views

WPML with WP_Query serving up all 3 languages

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, ...
6
votes
1answer
180 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 ...
5
votes
3answers
3k 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 ...
4
votes
1answer
153 views

What is better for wordpress performace?

I'm developing a website using the WPML plugin. And I would like to know which is the better option, or even the correct way to change classes or IDs between the languages. Sample code: <ul ...
4
votes
2answers
4k views

WPML: getting page title in different language

i'm running my web in english and german using the WPML plugin. my question: when in english mode - is it possible getting the page_title() but in german? thanks
4
votes
1answer
3k views

[Plugin WPML] : How to create a translation of a post using the WPML API?

I'm trying to figure out how to create a translation for a post using the internal WPML API (inc/wpml-api.php) I simply want to create a translation for post ID xx, set some content and publish it. ...
4
votes
3answers
480 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 ...
3
votes
2answers
1k views

Need to give custom page template for each language in WPML

I need to give each page a custom/different page template for every language page in WPML. eg: Let i have a test page in English and french. Is there any way out so that in English i give sidebar ...
3
votes
2answers
471 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, ...
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: ...
2
votes
1answer
592 views

WPML : how to determine manually the language in which a given page is displayed

Somewhere in my code I need to know what is the current language and display a certain custom field or another one based on this knowledge. How can I know this information ?
2
votes
1answer
1k views

How to get posts in different language from WPML Plugin

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
165 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 ...
2
votes
0answers
264 views

Insights into WordPress Multi-Site, Domain Mapped, and Multilanguage site using WPML [closed]

I have a project with WordPress for a multi-language, multi-country site. I want to have a structure like: domain.com domain.com/es domain.com/de domain.com/fr domain.es domain.es/en ...
1
vote
2answers
515 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
3answers
890 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 ...
1
vote
2answers
4k 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
2k views

WPML in custom page templates

I have a Wordpress site translated from dansk to english using WPML. In it, I have a page which uses a custom page template to display the titles of all the posts. Sadly, it's displaying all posts ...
1
vote
2answers
618 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 ...
1
vote
1answer
734 views

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

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
vote
1answer
820 views

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

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 ...
1
vote
3answers
275 views

Manipulate Permalink

I'm using WPML to translate a website. The only major issue I have with WPML is that you cannot have a page in different languages with the same slug. Therefore www.example.com/contact/ and ...
1
vote
1answer
671 views

Translate database content using __($message) function

I've written a plugin that allows users to add information in the database. It runs well but I can't translate the information using WPML. This is a simple example of the problem: $message = 'test'; ...
1
vote
2answers
681 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
797 views

WordPress Blank Screen Issue [closed]

I'm running a WordPress website with a custom template that is showing me a blank screen when I have not viewed the site in a few days. I've cleared the browser cache and I've empited all cache using ...
1
vote
1answer
751 views

WPML & CFT: keeping custom field file to translation

i got a wp site with the WPML plugin and the CFT plugin. I set up custom fields for posts and what i'm trying to do is to keep the content of an input type file from the original post to its ...
1
vote
0answers
141 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
0answers
96 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
2answers
456 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
626 views

Theme localization in WPML - .mo file error

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

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

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
414 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
2k views

Redirect user based on his language and country using WPML

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

WPML - Change the language of large number of posts

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 ...
0
votes
3answers
2k views

WPML custom post type - not translated

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 ...
0
votes
2answers
4k views

Strange behavior with a redirect loop - involves WPML multi-language plugin

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

Translate arguments of a user added custom code

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

WPML language tags (Qtranslate feature)

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

English version of my site show french strings

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 ...
0
votes
2answers
74 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
142 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 ...
0
votes
1answer
306 views

WPML icl_register_string() throws fatal error but works

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 ...
0
votes
1answer
152 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
2answers
280 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. ...
0
votes
1answer
911 views

wp_pagenavi function parameters

I've been searching all around the web for the API of the wp_pagenavi plugin, but seems that I can't find one. I just want to know: In examples that I found, the wp_pagenavi function has from 0 to 3 ...
0
votes
3answers
978 views

Internationalize plugin so strings can be translated in WPML

A third party developer made a text widget with title, body and thumbnail. This accompany widget plugin has not been internationalized and therefore the strings do not appear in WPML's string ...
0
votes
1answer
1k views

WP-e-commerce (getshopped) - Annoying permalink issue

i’m using wp-ecommerce (getshopped) and WPML on a website, all pages display correctly when i use the default (/ugly…) permalink structure, but when i try to use the much desired permalink structure ...
0
votes
1answer
753 views

WP-e-commerce (getshopped) Hebrew language files - where can I get them?

I’m working on a dual language website (english+hebrew) the website uses wpml+wpec. I’m looking for the hebrew language files (mo/po) – where can i get them?