reduxframework / tr8n_wordpress_plugin

Tr8n Plugin For Wordpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tr8n Plugin For Wordpress

This plugin uses Tr8n PHP Client SDK to enable inline translations of WordPress posts and page contents.

Latest Stable Version Dependency Status

Installation

Tr8n WordPress Plugin can be installed using the composer dependency manager. If you don't already have composer installed on your system, you can get it using the following command:

    $ cd YOUR_APPLICATION_FOLDER
    $ curl -s http://getcomposer.org/installer | php

Create composer.json in the root folder of your application, and add the following content:

    {
        "minimum-stability": "dev",
        "require": {
            "composer/installers": "v1.0.6",
            "tr8n/tr8n-wordpress-plugin": "dev-master"
        }
    }

This tells composer that your application requires tr8n-wordpress-plugin to be installed.

Now install Tr8n WordPress plugin by executing the following command:

    $ php composer.phar install

The installation will put the Tr8n WordPress plugin inside the wp-content/plugins/tr8n-wordpress-plugin folder. At the same time, all other dependencies and libraries will be placed in the vendor folder and the WordPress plugin will refer to them through relative path.

Integration

Now we can active the plugin by logging into to WordPress with an admin account and navigate to the Plugins section.

You should now see the Tr8n plugin as one of the options.

Click on the "Activate" link. You should see now a new section on the left bar called "Tr8n".

Before proceeding further, please visit http://tr8nhub.com, register as a new user and create a new application.

Once you have created a new application, go to the security tab in the application administration section and copy your application key and secret.

Now you can go back to your WordPress and provide your application details in the Tr8n configuration section.

After you save the changes, you can add a language selector widget to your WordPess UI by visiting the Appearance > Widgets section.

The Tr8n Language Selector allows users to change languages of WordPress and your posts.

Now you are ready to invite translators and translate your blogs. By enabling inline translations, you can translate entire paragraphs inline:

Once the inline translations are disabled, your site will contibue to remain translated:

Where can I get more information?

About

Tr8n Plugin For Wordpress

License:MIT License


Languages

Language:PHP 100.0%