Archive

Posts Tagged ‘Development’

WPtouch in french – update 1.9.16

July 29th, 2010 Guillaume No comments

A new WPtouch version is available : the 1.9.16… and my translation is also released on the download page as usual.

Categories: Wordpress Tags:

WordPress 3.0 is available !

June 18th, 2010 Guillaume No comments

I’ve not already upgraded my own blog… but I should do it this weekend if I have enough time… Moreover, the WPTouch plugin is supposed to work properly with this new version. Read more about Thelonious (the name of this version) on the official WordPress website.

Categories: Wordpress Tags:

WPtouch in french – update 1.9.11

May 7th, 2010 Guillaume No comments

One more time, a new WPtouch version is released : the 1.9.11… and my translation is available on the download page as usual.

Categories: Wordpress Tags:

WPtouch in french – update 1.9.10

April 30th, 2010 Guillaume No comments

The new WPtouch 1.9.10 is released… and my translation is available on the download page.

Categories: Wordpress Tags:

WPtouch in french – update 1.9.9.8

March 19th, 2010 Guillaume No comments

New versions are released almost everyday… The translation for the WPtouch 1.9.9.8 update is available ! You can download the language file.

Categories: Wordpress Tags:

WPtouch in french – update 1.9.9.6

March 15th, 2010 Guillaume No comments

A new version again… The translation for the WPtouch 1.9.9.6 update is available ! You can download the language file.

Categories: Wordpress Tags:

WPtouch in french – update 1.9.9.3

March 10th, 2010 Guillaume No comments

The translation for the WPtouch 1.9.9.3 update is available ! You can download the language file.

Categories: Wordpress Tags:

WPML 1.7.1

February 19th, 2010 Guillaume No comments

WPML 1.7.1 is online. This version is now properly working for the function bloginfo(‘home’) : then my post “how-to” patch WPML to manage search engine and multi-language is not necessary any more ! All is working out of the box.

Categories: Wordpress Tags:

WPtouch 1.9.8.3 Update

February 19th, 2010 Guillaume No comments

The new WPtouch 1.9.8.3 is just released… but it just removes some bugs : there is no new string inside. Then you can use the french translation file for the 1.9.8.1 version without any modification.

Categories: Wordpress Tags:

WPtouch in french – Update 1.9.8.1

February 14th, 2010 Guillaume No comments

The translation for the WPtouch 1.9.8.1 update is available ! You can download the language file.

It stays some sentences not managed to be translated… By exemple, the “Search…” wich appears when you click on the “Search” button in the WPtouch menu. To solve this, you have just to modify the file wp-content/plugins/wptouch/themes/default/header.php and replace the line

<input type="text" value="Search..."
onfocus="if (this.value == "Search...")
{this.value = ''}" name="s" id="s" />

by

<input type="text" value="<?php _e('Search...', "wptouch"); ?>"
onfocus="if (this.value == "<?php _e('Search...', "wptouch"); ?>")
{this.value = ''}" name="s" id="s" />

If you see something else not properly translated in WPtouch, thanks to alert me !

Finaly, if you manage your website with more than one language, then I suggest that you modify the file wp-content/plugins/wptouch/themes/core/core-functions.php to update the SQL request below in the bnc_get_ordered_cat_list() function :

$sql = "select * from " . $table_prefix .
          "term_taxonomy inner join " . $table_prefix .
          "terms on " . $table_prefix .
          "term_taxonomy.term_id = " . $table_prefix .
          "terms.term_id where taxonomy =
          'category' order by count desc";

replaced by

$sql = "SELECT " . $table_prefix . "terms.term_id, count,
           CASE WHEN INSTR( name, '@' ) >0 THEN
           TRIM( LEFT( name, INSTR( name, '@' ) -1 ) ) ELSE
           TRIM( name ) END AS name FROM " . $table_prefix .
           "icl_translations INNER JOIN " . $table_prefix .
           "term_taxonomy ON " . $table_prefix .
           "term_taxonomy.term_taxonomy_id = " . $table_prefix .
           "icl_translations.element_id INNER JOIN " .
           $table_prefix . "terms ON " . $table_prefix .
           "term_taxonomy.term_id = " . $table_prefix .
           "terms.term_id WHERE element_type = 'category'
           AND taxonomy = 'category' AND
           language_code = '" . get_bloginfo('short_language') .
           "' ORDER BY count DESC";

Then your WPtouch “Category” will display only the categories for the current language…

Categories: Wordpress Tags: