Hi,

I am working on writing my own custom language (Yiddish) which resembles
de. I found de to be mainly in main/say.c. I am a novice when it comes to
c. Would changing:
} else if (!strncasecmp(lang, "de", 2)) {
to:
} else if (!strncasecmp(lang, "de", 2) ||!strncasecmp(lang, "yiddish", 2)) {
do the trick or am I better of adding where ever I see:
       } else if (!strncasecmp(lang, "de", 2)) { /* German syntax */
                return ast_say_date_de(chan, t, ints, lang);


to add:
       } else if (!strncasecmp(lang, "yiddish", 2)) { /* Yiddish syntax
(like German) */
                return ast_say_date_de(chan, t, ints, lang);

TIA.

Dovid
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to