WordPress.org

Ready to get started?Download WordPress

Forums

Random Text
Multilingual (5 posts)

  1. tbennett04
    Member
    Posted 1 year ago #

    Where would I start to make this multilingual? I'm using WPML elsewhere but I would be fine using .po files, if possible.

    http://wordpress.org/extend/plugins/randomtext/

  2. ltheiler
    Member
    Posted 1 year ago #

    tbennett04, I'm going through the same process. I've installed Random Text and have set it up to display a block of text on the front page. Unfortunately, I can't find an easy way to set the strings to be seen by WPML. Did you figure out a way to do this?

    Lincoln

  3. Piet
    Member
    Posted 1 year ago #

    I haven't worked with the Randomtext plugin, so I just installed it on a test site.

    I had a look at the code and the plugin has not been internationalised whatsoever.

    It generates its own category (Installer), instead of grabbing one of your existing categories. There doesn't seem to be a way to translate this default category and even when adding a new category, it also is not possible to translate.

    The cause of this is most likely due to the fact that the plugin creates its own table in the database (prefix_randomtext) and this table communicates only with the plugin and nothing else.

    I would say that unless this plugin is completely recoded it is fully incompatible with WPML.

  4. Piet
    Member
    Posted 1 year ago #

    beware: if you decide to remove the plugin from your WordPress install, you will also need to check your database as the plugin leaves the table it generated.
    In your database look for [wp_prefix]_randomtext and drop the table altogether as it serves no purpose after deletion from your plugins.
    Bad coding standards that is...

  5. ltheiler
    Member
    Posted 1 year ago #

    Piet, thank you so much for the information. It's a shame this isn't set up to work with WPML, that would be a wonderfully powerful combination.

    Also, thanks for the heads up in regard to the randomtext table. I will be sure to remove it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic