0
votes
1answer
39 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
225 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 ...
4
votes
3answers
517 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
521 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
545 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
3answers
125 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
644 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
1answer
322 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
423 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
384 views

wp_paginate not working in combination with WPML plugin?

I have installed the wp_paginate plugin and the WPML plugin. Now I have set 'Dutch' to the basic language and added 'English' as the second language. I set the Blog posts to display to: All posts ...
6
votes
1answer
183 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
1answer
698 views

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

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
629 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 ...
0
votes
3answers
992 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
760 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?
0
votes
1answer
1k views

Translate custom template with WPML

I have custom template that is used by ClassiPress and it is working fine on default language, but when I enter the page language selector won't work since it's not translated. How can I translate ...
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 ...
5
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. ...