In Translations Management > Translators, I am never able to get the Add translator button to become functional, it is always disabled.
]]>I have users that are editors, administrators, authors, etc… yet when I try to add translators in translations management, the button is never active.
I also am unable to translate more than 7 pages.
What are the issues here?
]]>Hi,
I’ve been using WPi18n now for a fairly long time. Everything has worked pretty much ok, but now he web host is giving errors like the one below, and the hosting operator support says this is due to a new version of MySQL (5.1.68-cll – MySQL Community Server (GPL)) – it was uprgraded in December last year and since then the syntax errors have been present every now and then:
[06-Mar-2013 06:18:44 UTC] WordPress-database error – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query
SELECT post_type FROM wp_posts WHERE ID= Tekij?: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), call_user_func_array, SitePress->init, get_page_link, apply_filters(‘page_link’), call_user_func_array, SitePress->permalink_filter
I had a look at what maybe causes this and found a similar type of SELECT clause in sitepress.class file within function permalink_filter. However, I do not have capabilities to correct this one. Hope the author or somebody else would find a fix. Code below copied from sitepress.class
function permalink_filter($p, $pid){
global $wpdb;
if(is_object($pid)){
$pid = $pid->ID;
}
if($pid == (int)get_option('page_on_front')){
/* preWP3 compatibility - start */
if(ICL_PRE_WP3){
$p = $this->convert_url($p, $this->get_current_language());
}
/* preWP3 compatibility - end */
return $p;
}
<strong> $post_type = $wpdb->get_var("SELECT post_type FROM {$wpdb->posts} WHERE ID={$pid}");</strong><em>
$element_lang_details = $this->get_element_language_details($pid,'post_'.$post_type);
if($element_lang_details->language_code && $this->get_default_language() != $element_lang_details->language_code){
$p = $this->convert_url($p, $element_lang_details->language_code);
}elseif(isset($_POST['action']) && $_POST['action']=='sample-permalink'){ // check whether this is an autosaved draft
$exp = explode('?', $_SERVER["HTTP_REFERER"]);
if(isset($exp[1])) parse_str($exp[1], $args);
if(isset($args['lang']) && $this->get_default_language() != $args['lang']){
$p = $this->convert_url($p, $args['lang']);
}
}
if(is_feed()){
$p = str_replace("&lang=", "&lang=", $p);
}
return $p;
}
]]>
Hi,
I love your plugin, because very good and helpful. It translate for everything, but if I add this:
[columns]
[one_third title="Lorem ipsum" titlesize="h4" imageurl=".png" imagealign="left"]
Lorem ipsum
<a href="/">More</a>
[/one_third]
[/one_third]
[one_third title="Lorem ipsum" titlesize="h4" imageurl=".png" imagealign="left"]
Lorem ipsum
<a href="/">More</a>
[/one_third]
[one_third title="Lorem ipsum" titlesize="h4" imageurl=".png" imagealign="left"]
Lorem ipsum
<a href="/">More</a>
[/one_third]
[/columns]
then no. I translated in “string translation” and the translation is complete.
What do you think, what I must do?
Thanks for help
]]>hello everyone,
I am a new user using wordpress,
and I have some question about this plugin.
In fact, I almost my work and I would like to add the delimiter like “|” between two language, but I cannot the code that I can put in. Can anyone point me where can I put? Thanks everyone!!!
]]>I’ve put WP i18n into production at one of my sites, even though there are still some problems: widget titles and NextGEN Gallery texts do not translate live, even though the translations are saved ok.
I did this, since my site is non-commercial and I’m not willing to pay WPML. Hope they come to their sences and allow non-commercial use for free!
]]>it is broken
]]>At the time WPML 2.0.4.1 was released, WordPress 3.3 was not available yet, so it’s pretty clear why it’s not working. It would be great if you could indicate the correct version in the download page.
Also, if you could be so kind as to remove me as the author, I would be very happy. It’s a little misleading to see this fork on my profile page. Right?
]]>