Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 13

CurtisOdenOnlyAnExcusecandymancritterhubericgillettefh111minzeverest +6 guests

How to translate Voting plugin into a different languages?

This discussion is related to the Voting addon.
Hi all,

I would like to translate this plugin into a different language.

I have translated Vanilla forum by using this guide: http://vanillaforums.org/addon/baseline-locale, which is quite simple.

I have read http://vanillaforums.org/docs/localization. But I don't understand and not sure what should I do in order to start.

Please help!

Comments

  • Posts: 8
    Anyone..? Pls...
  • Posts: 1,586
    What you need to do is go through the plugin and look for calls to T(). For instance, near the top of class.voting.plugin.php there is the following line:
    $Menu->AddLink('Forum', T('Voting'), 'settings/voting', 'Garden.Settings.Manage');
    When you see something like that then you need to add the following definition to your locale:
    $Definition['Voting'] = 'Your translation here.';
    You can put this definition in your regular locale pack. You can put it in a separate file if you wish to keep things organized.

    Vanilla co-founder

Sign In or Register to comment.