[dokuwiki] Plugin info localization

  • From: Mykola Ostrovskyy <spambox03@xxxxxxx>
  • To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
  • Date: Sun, 29 Mar 2009 16:54:27 +0200

Hi there,

I was about to localize output of getInfo() method of my plugin when I
came across comment in plugin.php that kind of advises against that:

  /**
   * getLang($id)
   * use this function to access plugin language strings to try to
   * minimise unnecessary loading of the strings when the plugin
   * doesn't require them e.g. when info plugin is querying plugins
   * for information about themselves.
   */

Is there a some reason for that? Should output of getInfo() always be
in English?


-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] Plugin info localization - Mykola Ostrovskyy