[asterisk-dev] [asterisk-commits] eliel: branch group/appdocsxml r150561 - in /team/group/appdocsxml: ./ includ...

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Oct 19 05:48:38 CDT 2008


On Sun, Oct 19, 2008 at 01:36:35PM +0300, Kevin P. Fleming wrote:
> SVN commits to the Asterisk project wrote:
> 
> > URL: http://svn.digium.com/view/asterisk?view=rev&rev=150561
> > Log:
> > Implements reading XML documentation from $(ASTDATADIR)/documentation & /documentation/thirdparty.
> > Every file named *-LANG.xml will be loaded from this directories where LANG is the actual language choice from asterisk.conf
> > option 'documentation_language'.
> 
> This should also 'fallback' gracefully; if documentation_language is
> 'en_GB' for example, and a given documentation file is present in
> 'en_US' and 'en' forms but not 'en_GB', then the 'en' version should be
> loaded.

Speaking of fallback, what happens when a translation is partial?

(Most translations are going to be partial. Keeping a translation
up-to-date is an awful lot of work)

I would suggest to have the default translation as a "C" language, or
somehow hardcode the "en_US" as the fallback default without any
need for configuration.

(gettext falls back to "C" when there's no translation).

Also, how does this affect a little statically-linked Asterisk?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list