free website hit counter
RSS Feed     Twitter     Facebook
Megnor



Procreativity



UpToDate



Kinetic



Finch



xili-language WordPress Plugin

Font size:
  • Sharebar

xili-language lets you create and manage multilingual WP site in several languages with yours or most famous localizable themes. Ready for CMS design…………..

Click Here To Download

Version – 2.2.2

Description:

xili-language provides for a bilingual (or multilingual) website an automatic selection of language (.mo) in theme according to the language of current post(s) or page. Theme’s behaviour can be fully personalized through hooks and api. Ready for CMS developers and designers.

  • xili-language plugin provides an automatic selection of language in theme according to the language of displayed post, series of posts, page or articles. If the post is in gaelic, the texts of the theme will be in gaelic if the author checks the post as gaelic and if the theme contains the right .mo file for this target language.
  • xili-language select on the fly the multilingual .mo files present in the theme’s folder.
  • Themes with localization can be easily transformed for realtime multilingual sites.
  • NEW: With now WordPress 3.0, the default theme named twentyten can be used without php coding for a multilingual site as shown here. xili-language plugin works on mono or multisite mode.
  • xili-language is also dedicated for theme’s creator or webmaster with knowledges in CMS and WP and having (or not) tools to create .mo language files. Through API (hook), the plugin add automatic tools (or links or filters) for sidebar or top menus. Categories or Archives lists are translated also.
  • xili-language provides also series of functions which can be hooked in the functions.php file of the theme that you create i.e. for a cms like multilingual website.

TRILOGY FOR MULTILINGUAL CMS WEBSITE : xili-language, xili-tidy-tags, xili-dictionary

  • With xili-tidy-tags, it is now possible to display sub-selection (cloud) of tags according language. With xili-dictionary plugin (beta), it is easier to create or update online, via admin UI, the files .mo of each language.
  • xili-language plugin does not create addition tables in the database. xili-language simply makes proper use of the taxonomy tables and postmeta table offered by WordPress to define language and link items between them. Because xili-language plugin does not modify deeply the post edit UI, it is possible to use iPhone / iPod Touch WordPress app to prepare and draft the post.
  • Documentation: A table summarizes all the technical features (widgets, template tags, functions and hooks) of this powerful plugin for personalized CMS created by webmaster.
  • Check out the screenshots to see it in action.

roadmap

  • Delivery of a premium version (with attractive fees) packaged with professional support.
  • Improved documentation for template tags and functions – started here.

2.2.0 – 2.2.2

  • ready for permalink uses in language (need special functions).
  • languages settings menu in admin bar.
  • fixes – wp_list_pages improved for current language subselection (see code)
  • improved date formatting options if no Server Entities Charset for language like khmer.
  • improved search form – findposts ajax added in linked metabox for post and page
  • deep tests with official release of WP 3.2

2.1.0

  • when a singular (single or page) is displayed, linked posts of other languages are set in xili-language-list links . Previously, it was possible to offer this behaviour by using hook (filter) provided by the plugin. Now, for newbies, it will be easier to link posts according languages with widget.
  • for previous users of navigation menus : v2.1.0 is compatible with settings of previous release BUT introduces now a way to choose multiple menu locations – so revisit the settings page to confirm your previous choice or sets to new navigation way including singular links.

News from 1.8.0 to 2.0.0

  • see tab and chapters in changelog

Technical infos

  • REMEMBER : xili-language follows the WordPress story since more than 4 years. Initially designed for webmasters with knowledge in WP, PHP,… step by step the plugin will improved to be more and more plug and play. So don’t forget to visit this demo site and Forum.

Prerequisite: Verify that your theme is international compatible (translatable terms like _e('the term','mythemedomaine') and no displayed texts ‘hardcoded’ (example in default theme of WP named twentyten or twentyeleven ).

  • Works with WP > 3.0 in mono or multisite. For version 2.9 and less, use release 1.7 or less

CMS

  • Contains features dedicated to multilingual theme’s creators and webmasters. Don’t forget to read documented source code.

Documentation for developers

A table summarizes all the technical features (widgets, template tags, functions and hooks) of this powerful plugin for personalized CMS created by webmaster.

  • Provides infos about text direction ltr ou rtl of languages (arabic, hebraic,…) of theme and of each post in loop
  • unique id for category link hook see expert’s corner posts
  • hooks to define header metas or language attributes in html tag.

More infos and docs

  • Other posts, articles and more descriptions here and here in action.
  • Visit also Forum to obtain more support or contribute to others by publishing reports about your experience.

Compatibility

xili-language is compatible with the plugin xili-dictionary which is able to deliver .mo files on the fly through the WP admin UI (and .po files translatable by other translators). xili-dictionary used a specific taxonomy without adding tables in WP database.

xili-language is compatible with the plugin xili-tidy-tags. xili-tidy-tags lets you create multiple group of tags. That way, you can have a tag cloud for tags in English, another cloud for French tags, another for Spanish ones, and so on. You can also use the plugin for more than multilingual blogs. Basically, you can create any group of tags you want.

xili-language is full compatible with the plugin xilitheme-select to be used with iPhone, iPod Touch or other mobiles.

More informations about other plugins in the website dev.xiligroup.com or in WP Repository

Author: MS dev.xiligroup.com

Installation:

READ CAREFULLY ALL THE README AND PREREQUISITES

  1. Upload the folder containing xili-language.php and language files to the /wp-content/plugins/ directory,
  2. Verify that your theme is international compatible – translatable terms like _e('the term','mytheme') and no text hardcoded – and contains .mo and .po files for each target language – (application poEdit and/or plugin xili-dictionary can be used)
  3. verify that a domain name is defined in your theme – see note at end list below,
  4. Activate the plugin through the ‘Plugins’ menu in WordPress,
  5. Go to the dashboard settings tab – languages – and adapt default values if necessary by adding your languages in the catalog. You can set the order (1,2,3…) of the series. (used in language_attributes() template_tag).
  6. Modify each post by setting (checking) the language in xili-language box at the right of the post editing window before publishing.
  7. Before using your own theme, to understand how xili-language works, install the child theme of twentyten shown in this commented demo site.
  8. Child of TwentyTen and Child of Twenty Eleven themes include a navigation menu – downloadable here -. In xili-language settings it is possible to insert automatically languages menu in the menu previously set by you.
  9. If you are webmaster and want to add lot of personalizations in your theme, visit expert’s corner.

XILI-LANGUAGE VERSION >=1.8.0 is not compatible with WP less than 3.0

SPECIAL NOTE FOR XILI-LANGUAGE VERSION >= 1.5.0 and WP 3.0

Nothing to do in functions.php as in former version of WP and xili-language : only verify that the theme is localizable and functions.php contains a function load_theme_textdomain(); and that the theme’s folder contains .mo files (in root or a language sub-folder) for each languages of your website. “twentyten” default WP theme is compatible with help of a child theme “twentyten-xili” available here in action and downloadable .

Plugin is backward compatible for theme of monosite. But if you upgrade xili-language, it is better to restore your theme with default load_theme_textdomain();. Delete lines concerned by constants THEME_TEXTDOMAIN and languages sub-folder THEME_LANGS_FOLDER.

NOTE FOR THEMES DESIGNER

If your theme is compatible both for newest (>3.0-apha) and older versions, add some conditional lines.

NOTE FOR COMMENT FORM IN WP 3.0

Today with WP3.0, comments form language is based on default language of admin UI and not on theme’s language. xili-language solves this features. So you need to add this terms msgid in the .po of your theme for translation used by xili-language. In latest version, xili-dictionary adds this option to avoid tedious copy and paste !

Browser detection for visitors or authors

To change the language of the frontpage according to the language of the visitor’s browser, check the popup in right small box in settings. To change the default language of a new post according to the language of the author’s browser, check the popup in right small box in settings.

xili-language and widgets

Three widgets are created to enrich sidebar : list of languages, recent posts and recent comments with sub-selection according current language.

xili-language and shortcode

Shortcode to add a link to other language inside content of a post like

[linkpost lang="fr_FR"]

is available in a library in complement to xili-language.

xili-language and template tags

  • xili-language “translates” template tags and permits some variations for webmasters:

The most current template tags don’t need special work: wp_list_categories(), wp_title(),…

wp_get_archives

Possible that very special permalinks need to use hook named xiliml_get_archives_link. – Sub selection of archives for wp_get_archives() with &lang= (see § below)

wp_list_pages()

with optional query tag &lang=

  • xili-language “provides” new template tags (or widgets) to solve issues from WP core or add new features for CMS:
xili_language_list()
  • outside loop (sidebar) display the languages of the site (used also by widget)
xiliml_the_category()
  • replace the_category() template tag of WP Core

improved xiliml_the_others_posts() function and theme tag to be used in multilingual category loop and by option (array) to return an array of linked posts in other languages (useful for CMS webmasters) (array of lang and id ) – the id is easily transformable in permalink with function get_permalink() when using this array.

  • widget for recent comments that can subselect those for current language. (a function xiliml_recent_comments() is also available if you want to create a template tag with resulting objects array).

Archives selection

Archives tags is a very complex template tag in his background and not very easy source hookable. So we decided to add few features : by adding query in vars of the function, it will be possible to display a monthly list of archives for a selected language – wp_get_archives('..your.vars..&lang=fr_fr') – or the current the theme language – wp_get_archives('..your.vars..&lang=') -. The displayed list of links will be translated and link restrited to display only archives of this language.

text direction

Examples for theme’s designer of functions to keep text direction of theme and of current post : (see child theme of twentyten example in)

<?php $themelangdir = ((class_exists('xili_language')) ? the_cur_lang_dir() : array ()) ; ?> <div> ...

example in loop :

<?php while (have_posts()) : the_post(); $langdir = ((class_exists('xili_language')) ? get_cur_post_lang_dir($post->ID) : array()); ?> <div >

minimal example in css :

.rtl {direction: rtl; text-align:right !important; font-size:130% !important;} .ltr {direction: ltr; text-align:left !important;}

Caution : multilingual theme with both ltr and rtl texts needs a rigourous structure of the css !

 

 

 

 

Screenshots:

  1. xili-language screenshot 1an example of wp-content/themes folder.
  2. xili-language screenshot 2the admin settings UI.
  3. xili-language screenshot 3the language setting in post writting UI.
  4. xili-language screenshot 4Source coding extract with ‘international’ text in ‘xiliphone’ theme.
  5. xili-language screenshot 5xili-dictionary: Admin Tools UI – functionalities windows.
  6. xili-language screenshot 6xili-language: Admin Tools UI – set homepage and author according his browser’s language.
  7. xili-language screenshot 7xili-tidy-tags: Admin Tools UI – see this compatible plugin to group tags according languages.
  8. xili-language screenshot 8xili-language widget: Admin widgets UI – since 0.9.9.6, “multiple” languages list widget.
  9. xili-language screenshot 9xili-language: Special Admin UI sidebox – infos about theme’s content for multilingual settings.
  10. xili-language screenshot 10xili-language: Post Edit UI – when clicking Add New, a new browser window is open and links input are prefilled.
  11. xili-language screenshot 11xili-language: Widget to display recent posts in choosen target language.
  12. xili-language screenshot 12xili-language: Post Edit UI – Check option to auto search will be useful for editor when working on existing posts and with multiple authors to collect translated linked posts.
  13. xili-language screenshot 13Since 1.8.0, if checked in settings, a custom post type can be multilingual like post or page type.
  14. xili-language screenshot 14Edit screen: example of a custom post type named book.
  15. xili-language screenshot 15Blogroll and bookmarks taxonomies and language sub-selection.
  16. xili-language screenshot 16Dashboard: Posts edit list with language sub-selection, quick edit and bulk edit available.
  17. xili-language screenshot 17Since 2.2.0, new xili-language trilogy menu in admin bar menu to group main settings for multilingual website.

Other Notes:

More infos

What about plugin admin settings UI localization ?

It is simple, if you have translated the settings UI of plugin in your mother language, you send us a message through the contact form that contains the link to your site where you have add the .po and .mo files. Don’t forget to fill the header of the .po file with your name and email. If all is ok, the files will be added to the xili-language wp plugins repository. Because I am not able to verify the content, you remain responsible of your translation.

What about languages with 2 letters WPLANG as in wp-config.php like japanese ?

Before version 1.8.8, it was necessary to change wp-config.php like japanese and set WPLANG to ISO : from ja to ja_JA. Now with 1.8.8, the trilogy is updated, it is not necessary. So very easy for a japanese to transform his site in a multilingual site by adding other language files. For other mother languages, just add the japanese (ja.mo) inside languages sub-folder ot the theme kept here.

What about bookmarks and sub-selection according current language of displayed loop ?

Since version 1.8.5, xili-language has inside his class filters and actions to permit displaying sub-selection of links and bookmarks.

  • case of default widget-links : in xili-language settings, only check link categories where sub-selection is wanted.
  • case of template tags : <?php wp_list_bookmarks( array( 'lang'=>the_curlang() ) ; ?> here this new arg named lang is set to the current language.

Visit links list editor settings page and set for each link the language.

What happens if frontpage is a page ?

The page as frontpage must have its clones in each other languages. Like for posts, if the user’s browser is not in the default language, xili-language will display the page in the corresponding language if set by the editor. home page of website dev.xiligroup.com uses this feature.

The plugin is frequently updated. Visit Other versions. See also the dev.xiligroup Forum.

© 2008-2011 – MS – dev.xiligroup.com

 

Detail Here:

http://wordpress.org/extend/plugins/xili-language/

Share with: Twitter Delicious Facebook Digg Stumbleupon Wordpress Googlebuzz Myspace Gmail Newsvine Favorites More
You can leave a response, or trackback from your own site.
Some More Popular News

Leave a Reply

 

Recent Search

TheTechjournal.com
Copyright© 2013 WordPress Planet | All Right Reserved.