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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Feb 12 09:44:32 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229440#comment-229440 ] 

Rusty Newton commented on ASTERISK-25760:
-----------------------------------------

I looked into this as far as the sound files are concerned. This doesn't appear related to any change or issue with the sound files.

Observations:

 * I grabbed the latest English sound files (v1.5) and some going way way back (v1.4.10). In both cases the "seconds" and "minutes" files have been historically and still are stored in the root of the Core directory.
 * I did the same for the French sounds and they match the English sounds.
 * In the core French and English sounds a "second" file does not exist (only a "seconds" file).
 * It appears that both the second and minute sounds are included in the Extra sounds sets and not the Core.

In the future we should probably get "second" and "minute" sounds in Core for all the Core sounds. I wonder if any other parts of Asterisk try to use them other than SayUnixTime?

I've got to step away but you might take a look to see. Otherwise I'll look into it further when I get a chance.

> 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
>            Assignee: Rusty Newton
>
> 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