Wordpress Plugins – Extensions

Just another WordPress.com weblog

Transposh – translation filter for wordpress 0.5.5

Author: Team Transposh
Transposh translation filter for WordPress offers a unique approach to blog translation. It allows your blog to combine automatic translation with human translation aided by your users with an easy to use in-context interface

Upload the plugin to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
Add the widget to your side bar, decide which interface you prefer
On the settings page – define which languages you would like viewable, translatable and which language is currently used (default) by clicking and dragging
You may also elect to disable/enable the automatic translation mode
You are good to go

My requested language does not appear on the list

You can edit the constants.php and add a line to the languages array, or just contact us to add your language

I am using the flag interface and would like to change the flag used for some language

In the languages array in the constants.php file change the two letter ISO code used for the flag

I have a feature to suggest

The correct place for that would be our development site

The interface looks messed up

Another .css file might intervene with our in ways we didn’t predict yet, either fix that .css alone or contact us

What do the colors of the translation icons mean?

There are currently three colors used

Red – no translation was done
Yellow – translation was done by a robot
Green – translation was done by human (or approved by one)

What are the colors in the administrative interface?

Three background colors are used
* Green – this language is active and all users will see it
* Yellow – only users with translation capability can see this language (this is disabled once anonymous translation is available)
* Blank – language won’t appear on widgets

What is the dragging of languages for?

You may drag the languages in order to set the order in which they appear in the widget, you can use the sorting links below
which will sort the languages and put the default language first. Dragging also is used to select the default language.

Why should I allow anonymous translation?

Wiki has proven itself quite a valid model on the Internet. More people have good intentions than bad intentions and that can be
harnessed to get your message out to more people. Future versions will give more focus on preventing spammers from defacing sites

I have installed the plugin – nothing happens

By default, automatic translation is on and it should be kicking in. If its off, and you don’t have enough privileges to translate, nothing will happen.

Please be reminded of the following “rules of thumb”

A language marked as viewable will have its flag shown inside the widget.
A language marked for editing will allow a translator (anyone marked in the ‘who can translate’ section) to manually edit the page. i.e. the translate check-box will appear in the widget.
Enabling automatic translation will automatically translate a page (without requiring entering edit mode) for EVERYONE viewing the page regardless of the their role. However it will only take place for languages marked as editable.

Also – please take extra care to validate your html, adding extra tags that are unclosed in the template may lead to our parser breaking. Use the w3c validator service for more details. If everything is setup correctly and still nothing happens, please contact us.

I have installed the plugin – nothing happens – themes related

The plugin works on one theme yet seems to fail on another. This might be caused by themes which don’t include the wp_head and/or wp_foot
functions so the transposh.js file is not being included, try to include it manually by modifying your theme

How can I add the plugin interface without using the sidebar widget?

Just add the following line to your template:

<?php if(function_exists(“transposh_widget”)) { transposh_widget(); }?>

Plugin support: php speedy (http://aciddrop.com/php-speedy/)

Users of php speedy will have to deactivate it, add “transposh.js” in the ignore list, click on “Test configuration” then reactivate it.

Plugin support: Google-Sitemaps-XML

Currently the plugin is able to add the multilingual urls to the sitemap, and you need to add the following line at the sitemap-core.php, add-url function (line 1509 at version 3.2.2)

do_action(‘sm_addurl’, &$page);

We hope that future versions will include this by default, and for now you can get the patched file from our site.
After a change of languages used, you are welcomed to trigger a new sitemap buildup.

Plugin support: WP-Super-Cache

The support for wp-super-cache includes the invalidation of cached pages after a translation is made, which should reduce the issue with incorrect pages being displayed and
redundant calls to the machine translation agent. After a change in the widget layout or the language list you are still expected to invalidate your cache.

I am getting weird errors

Please make sure you are using PHP5 and up, PHP4 is not supported

I want my own css image with less flags

This is on our todo list

css flags have issues on IE6 for my users

First, there’s always the ability to use another option for the plugin which is more compatible, such as the selection box. Second, you can
change the .css from transparent background to your page background color. And last – we urge anyone using IE6 to upgrade…

How can I prevent certain text from being translated?

You can wrap the element with the “no_translate” class, or add a span similar to <span class=”no_translate”>

Can I make different images appear in different languages in my themes?

Yes, although a bit tricky – you can use the $my_transposh_plugin->target_language as part of the image descriptor, this will load different
images based on the current language

Transposh – translation filter for wordpress 0.5.5


June 18, 2010 - Posted by | download, extension, extensions, free, get, internet, plugin, plugins, Uncategorized, wordpress

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: