[asterisk-dev] XML documentation of apps/functions/the_rest_of_the_world
Caio Begotti
caio at ueberalles.net
Tue Jul 8 12:55:42 CDT 2008
On Tue, 8 Jul 2008 19:42:41 +0200
Michiel van Baak <michiel at vanbaak.info> wrote:
> Instead of having a single *descrip in the source we can now define
> multiple blocks of documentation for an application.
> As an example I added dutch documentation to the ChanIsAvail
> application:
> /*** DOCUMENTATION
> <application name="ChanIsAvail" language="en">
> ...
> ...
> <application name="ChanIsAvail" language="nl">
> ...
> ***/
>
[...]
> If set, it will look for a node with the specified language once the
> application is loaded. If that language node exists, it will use
> that for the documentation. If not, it will fall back to english.
Instead of a node for each language what about merging different XML
files for each one of them? Too hackish? Let's say there are 7 amazing
Asterisk local groups out there looking forward to send their massive
translations :)
[]'s
--
Caio Begotti
http://caio.ueberalles.net/asterisk/faq/
More information about the asterisk-dev
mailing list