This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
FS#2799 update language api of template to level of plugins
The language support has three parts:
- localized strings
- localized files
For plugins these are all available (getLang, locale_xhtml, LANG.plugins.<pluginname>.key).
However for plugins only tpl_getLang is available.
Proposal: extend the template functions by adding
alternative for js localization: LANG.template.key because there's only one template at the same time active. But now people will not recognize that the template that provides the strings can change..
Are you fine when stuff above is implemented as proposed?
That's adding tpl_locale_xhtml('key') and LANG.template.<templatename>.key