6

WPML 1.7.3 includes two major features, which were always high on the wish-list. You can edit languages and translate texts from the theme admin.

Language editing

WPML ships with a list of many popular languages, but sometimes it’s not enough. For instance, a recent red-cross site needed to add Creole (the language spoken in Haiti). Others, want to have both US, UK and Australian English variants.

So, without further ado, head over to WPML->Languages. There, you will find a new link Edit languages.

Language editing screen

You can existing languages and add new languages. No more need to manually edit WPML’s table for your own languages.

In case you didn’t notice, there’s a little Reset languages button there as well. Up to this release, WPML always automatically reset the languages on every upgrade. Now, since you can edit languages, it might not be such a good idea to do. WPML no longer changes your language tables. If you want to revert to the preset values, use that button.

Translation for texts in the theme’s admin

Many themes let you enter your own texts in their admin screen. For example, let’s look at the settings for Arras theme:

Arras theme settings
Arras theme settings

As you can see, there are some texts that which should be translated. Let’s see how!

Go to WPML->String translation and scroll to the bottom of the page. There, click on Translate texts in admin screens.

Choose admin-texts for translation

This screen lets me choose which admin-options need to be translated. You’ll see everything that the theme saves. Many of the fields don’t need to be translated, but some do.

I’ve selected the feed_url, comments_feed_url, footer_title and footer_message. This means that I’ll be able to enter translations for these entries.

Next, click on the link to go to the String translation page. WPML already selects just the theme-admin texts. You can translate them and they would appear on site when viewing in different languages.

Entering translation for Arras home title

In a perfect world…

We tried to make this mechanism as robust as possible, but some limitations remain. WPML cannot translate texts that are registered dynamically in themes. It happens in many premium themes.

We’ll try to improve this in future releases and work with theme developers to allow WPML to know which texts can be translated.

Bugs fixed

And, we also managed to crush another few annoying bugs in this release.

The one bug that many have reported was a conflict between WPML’s new Auto adjust IDs and category translations. It’s fixed now and you can safely enable back the Auto ID adjustment feature without breaking category and tag links. Thanks to all the folks who reported it in the forum.

6 Responses to “WPML 1.7.3 – Language Editing and Translation for Admin Texts”

    • People ask for stuff all the time. When you have 70,000 downloads, you should expert features requests 10 times a day.

      Our job is to add features that are good for many.

  1. Your plugin is really nice, thank you, but I do encounter a minor problem:
    Is it a bug? When I go to the translated site, the frontpage link points to original language translation.

    for example:
    Page setup + translation
    French page = Acceuil > permalink > http://www.kibuni.com
    English page = Home > permalink > en.kibuni.com

    Result:
    Accueil points to http://www.kibuni.com
    Home points to http://www.kibuni.com instead of en.kibuni.com

    I have searched but could not find where the problem is. All I know is that this page is also considered as the frontpage.

    This is probably not the right place to post this, so let me know where it is best to post?

    Thank you

  2. Hi,

    I want to translate the footer links to dutch but I can’t find where to do that. I have created the links inside the artisteer.com software and now I would like to translate them.

    Can you help me?

    Thanks,
    Amro
    Amazing plug!