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.
Closed
Implemented
FS#2799 update language api of template to level of plugins
Localization
2013-06-05Klap-in
The language support has three parts:
- localized strings
- localized strings for javascript
- 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
- 'tpl_locale_xhtml('key')'
- LANG.template.<templatename>.key
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..
2013-08-01Klap-in
Are you fine when stuff above is implemented as proposed?
That's adding tpl_locale_xhtml('key') and LANG.template.<templatename>.key