Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

i18n: Participated Threads, Discussion Filters & Announce

edited September 2006 in Vanilla 1.0 Help
Hi, I'm translating the installed extensions to Spanish (Castellano) and I've found some extensions that could use with a l18n facelift: a) Participated Threads 1.2 by SirNot b) Discussion Filters 2 by Mark c) Announcement 1.2 by iambigred the currently suggested method seems to be using $Context->SetDefinition('code', 'definition') instead of $Context->Dictionary['code'] = 'definition'; I found that explanation here --> Thanks :D


  • Options
    ouch, all of my extensions use $Context->Dictionary['code'] = 'definition';
  • Options
    All thats needed is to change "$Context->Dictionary['code'] = 'definition';" to "$Context->SetDefinition('code', 'definition')" You could use a regexp in a text editor to do it for you. I changed it manually in the above extensions in my local install, and the translation strings in conf/ worked right away
This discussion has been closed.