[asterisk-bugs] [JIRA] (ASTERISK-25760) SayUnixTime aborts when it tries to give the time in French

Nicolas Riendeau (JIRA) noreply at issues.asterisk.org
Tue Feb 9 12:04:33 CST 2016


Nicolas Riendeau created ASTERISK-25760:
-------------------------------------------

             Summary: SayUnixTime aborts when it tries to give the time in French
                 Key: ASTERISK-25760
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25760
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_sayunixtime
    Affects Versions: 13.7.2
            Reporter: Nicolas Riendeau


Hi!

I have a problem getting SayUnixTime to say the time in French.

Each time it wants to say the number of seconds it aborts with a missing file.

The code in say.c (more specifically I believe the one in ast_say_date_with_format_fr) tries to get the sound file from "digits/second" but both "second" and "seconds" are not in that directory but the one just above that.

Removing "digits/" would not be enough though because when "second" was translated into French they did not translate it into the unit of time but actually in "2nd" (ie as in first, second, third, etc...) and unfortunately in French this is not pronounced the same as the unit of time ("deuxième" vs "seconde").

Please note that It is also possible to say  "second" but this is not how it was translated and it is not pronounced the same way as the unit of time either ("seconde").

Fortunately in French both "second" ("seconde") and "seconds" ("secondes") are pronounced exactly the same (the "s" is not pronounced) so the "seconds" file could be used...

I have, as far as I know, the latest (and greatest! (-; ) sound files for French...

Thank you and have a nice day!

Nicolas




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list