[Kimchi-devel] [PATCH V8 5/9] Issue #342: load i18n.html of the plugin
Zhou Zheng Sheng
zhshzhou at linux.vnet.ibm.com
Fri Jun 13 06:30:49 UTC 2014
on 2014/06/12 17:56, shaohef at linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>
> Apparently, in plugin code there is no way to insert new entries into
> Kimchi ./ui/pages/i18n.json.tmpl, so every plugin should provide its own
> i18n.json.tmpl.
>
> each plugin provides a "plugins/plugin-name/ui/pages/i18n.json.tmpl",
> and maps it to the URI "plugins/plugin-name/json.html". This is already
I assume you wanted to write "plugins/plugin-name/i18n.json"
> supported by the kimchi back-end. What we have to do is just to load
> "plugins/plugin-name/i18n.json" in the front-end code.
>
> Signed-off-by: Adam King <rak at linux.vnet.ibm.com>
> Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
More information about the Kimchi-devel
mailing list