Closed
Bug 1209151
Opened 10 years ago
Closed 10 years ago
Validate Vaani grammar translation
Categories
(Mozilla Localizations :: fr / French, defect)
Mozilla Localizations
fr / French
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: anatal, Assigned: bugzilla.fr)
Details
Hi Theo,
could you please review if following translation matches between English and French?
Basically what this differ from what you sent are the incorporation of numbers that I did myself. Please ignore variable names inside tags "<>".
Thank you very much!
=== FRENCH
#JSGF v1.0;
grammar fxosVoiceCommands;
#### TIMER
<timer> = règle le minuteur sur [( <hours> heures )] [et] [ (<minutes> | <extense>) minutes] ;
<hours> = un | deux | trois | quatre | cinq | six | sept | huit | neuf | dizaine | onze | douze | treize | quatorze | quinzaine | seize | dix-sept | dix-huit ans | dix-neuf | vingt | vingt et un | vingt-deux | vingt-trois;
<minutes> = un | deux | trois | quatre | cinq | six | sept | huit | neuf | dix | onze | douze | treize | quatorze | quinzaine | seize | dix-sept | dix-huit ans | dix-neuf;
<extense> = <extense_0> [<extense_1>];
<extense_0> = vingt | trentaine | quarante | cinquante ;
<extense_1> = un | deux | trois | quatre | cinq | six | sept | huit | neuf ;
#### ALARM
<alarm> = programme une alarme pour [( <hours_alarm> )] [ (<minutes> | <extense>)] ( a m | p m ) ;
<hours_alarm> = one | two | three | four | five | six | seven | eight | nine | ten | eleven | twelve ;
#### APP
<app> = phone | contacts ;
#### CONTACT
<contact> = john | robert | fabrice;
#### PUBIC RULE
public <simple> =
ouvre le application <app> |
appelle <contact> |
<timer> |
<alarm>;
=== English
#JSGF v1.0;
grammar fxosVoiceCommands;
#### TIMER
<timer> = set timer for [( <hours> hours )] [and] [ (<minutes> | <extense>) minutes] ;
<hours> = one | two | three | four | five | six | seven | eight | nine | ten | eleven | twelve | thirteen | fourteen | fifteen | sixteen | seventeen | eighteen | nineteen | twenty | twenty one | twenty two | twenty three;
<minutes> = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ten | eleven | twelve | thirteen | fourteen | fifteen | sixteen | seventeen | eighteen | nineteen ;
<extense> = <extense_0> [<extense_1>];
<extense_0> = twenty | thirty | forty | fifty ;
<extense_1> = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ;
#### ALARM
<alarm> = set an alarm for <hours_alarm> [ <minutes> | <extense> minutes];
<hours_alarm> = one | two | three | four | five | six | seven | eight | nine | ten | eleven | twelve ;
#### APP
<app> = phone | contacts ;
#### CONTACT
<contact> = john | robert | fabrice;
#### PUBIC RULE
public <simple> =
open <app> |
call <contact> |
<timer> |
alarm
;
Flags: needinfo?(theo.chevalier2.0)
Updated•10 years ago
|
Flags: needinfo?(theo.chevalier2.0) → needinfo?(tchevalier)
Comment 1•10 years ago
|
||
Hi Andre,
Here is the corrected French version and some feedback:
#### TIMER
<timer> = règle le minuteur sur [( <hours> heures )] [et] [ (<minutes> | <extense>) minutes] ;
<hours> = une | deux | trois | quatre | cinq | six | sept | huit | neuf | dix | onze | douze | treize | quatorze | quinze | seize | dix-sept | dix-huit | dix-neuf | vingt | vingt-et-une | vingt-deux | vingt-trois;
<minutes> = une | deux | trois | quatre | cinq | six | sept | huit | neuf | dix | onze | douze | treize | quatorze | quinze | seize | dix-sept | dix-huit | dix-neuf;
<extense> = <extense_0> [<extense_1>];
<extense_0> = vingt | trente | quarante | cinquante ;
<extense_1> = une | deux | trois | quatre | cinq | six | sept | huit | neuf ;
#### ALARM
<alarm> = programme une alarme pour [( <hours_alarm> )] [ (<minutes> | <extense>)] ( a m | p m ) ;
#### PUBLIC RULE
public <simple> =
ouvre l'application <app> |
appelle <contact> |
<timer> |
<alarm>;
----- commments --------
>ouvre le application > ouvre l'application
In my initial translation, I used a curly quote, maybe PocketSphinx didn't like it?
If <extense_0> and <extense_1> will be concatenated, there's a problem for:
1 (if feminine "une", if masculine "un"
21 (if feminine "vingt-et-une", if masculine "vingt-et-un")
31 (if feminine "trente-et-une", if masculine "trente-et-un")
etc.
"hour" and "minute" in French are always feminine, so I think we're lucky here, but with the format you provided, we can't have both "1" AND "21, 31, 41, 51" correct.
Not easy to explain :) Let me try something else. Here is the list of numbers 1-59 in French, when used with a feminine word ("hours" or "minute" here), so the software needs to generate this list:
1 Une
2 Deux
3 Trois
4 Quatre
5 Cinq
6 Six
7 Sept
8 Huit
9 Neuf
10 Dix
11 Onze
12 Douze
13 Treize
14 Quatorze
15 Quinze
16 Seize
17 Dix-sept
18 Dix-huit
19 Dix-neuf
20 Vingt
21 Vingt et une
22 Vingt-deux
23 Vingt-trois
24 Vingt-quatre
25 Vingt-cinq
26 Vingt-six
27 Vingt-sept
28 Vingt-huit
29 Vingt-neuf
30 Trente
31 Trente et une
32 Trente-deux
33 Trente-trois
34 Trente-quatre
35 Trente-cinq
36 Trente-six
37 Trente-sept
38 Trente-huit
39 Trente-neuf
40 Quarante
41 Quarante et une
42 Quarante-deux
43 Quarante-trois
44 Quarante-quatre
45 Quarante-cinq
46 Quarante-six
47 Quarante-sept
48 Quarante-huit
49 Quarante-neuf
50 Cinquante
51 Cinquante et une
52 Cinquante-deux
53 Cinquante-trois
54 Cinquante-quatre
55 Cinquante-cinq
56 Cinquante-six
57 Cinquante-sept
58 Cinquante-huit
59 Cinquante-neuf
Let me know if this helps and if you need anything else
Flags: needinfo?(tchevalier)
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•