Tagged Questions
0
votes
2answers
51 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
44 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
61 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
96 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
122 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 ...
5
votes
1answer
127 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
271 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 ...
0
votes
1answer
286 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
528 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
596 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
635 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 ...
3
votes
2answers
1k views
Open Source replacement for WPML?
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
1k 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.
...