I have created a digital clock for a software. Now we are localizing the software in French. I got the list of months and days in French. But I don't know how to show AM and PM in French. Is there only 24 hours format used in French? If no, what should be displayed as AM and PM?
-
5If 24hrs format can't be used for technical reasons, then using AM/PM as you would in English is the best option, people will usually understand, also because there's an easy mnemonic for it : "AM = Avant-Midi". But that should be your last resort, cause even if it's understood, that's really not standard in french speaking countries at least in Europe...– Laurent S.Commented Aug 14, 2017 at 7:29
-
3Proposing this as an option can always be of use, but I would certainly make 24hrs the default in France. Actually, I'm quite sure if you're developing a software you can simply rely on the regional settings of the OS.– Laurent S.Commented Aug 14, 2017 at 8:19
-
11@LaurentS. Your mnemonic is « easy », unfortunately, most French people will read AM as Après-Midi which is an actual word whereas Avant-Midi isn’t.– Christian LescuyerCommented Aug 14, 2017 at 10:01
-
2I must admit I didn't even realize that and always used that mnemonic without any mistake, but you're right. That said, avant-midi is an actual word, although I just realized also it was much more used in Belgium than in France...– Laurent S.Commented Aug 14, 2017 at 10:47
-
1Avant-midi c'est un synonyme de matinée en Belgique et au Canada nous dit Larousse en ligne ; DHLF concoure, ajoutant le syntagme dans l'avant-midi, comme dans l'exemple (Hémon) au TLFi avec la mention régionalisme/Canada. C'est clairement peu usité en France. Je ne savais pas ça ! Merci.– user3177Commented Aug 14, 2017 at 19:25
8 Answers
There seem to be some confusion with some of the opinions expressed so let me clarify how hours are expressed in French.
In spoken French, we often use the 12h convention but with several differences compared to the English one.
We don't use the AM and PM acronyms. Despite being of Latin origin1, they are not understood by the few people not already familiar with their English usage and might confuse them. Due to the globalization, digital watches, clocks, smartphones and the likes have however made them generally understood by most of us, but they are often still perceived as an annoyance.
Usually, no indication is provided to tell whether the hour is AM or PM. It is assumed to be implicit in most cases: je suis parti travailler à huit heures et demie (→ 8:30AM), La pièce commence à huit heures et demie (→ 8:30PM)
We don't say 12h for midnight. We explicitly say minuit (= zéro heure), 12h only means midi. This is a source of confusion for native French when faced with something like "12:15AM" (not to mention 12:00AM and 12:00PM which might even be confusing2 in English speaking countries).
When the context doesn't help to know whether it is AM or PM, we say du matin (morning), de l'après-midi (afternoon) or du soir (evening).
Alternatively, we also routinely use the 24h convention in spoken French so huit heures (implicit PM), huit heures du soir and vingt heures are interchangeable and always immediately understood.
We only use et quart, et demi[e] and moins le quart when using the 12h convention. Vingt heures et quart would be understood but is not idiomatic, should be vingt heures quinze.
In written French (timetables, agendas, reports, news…), the situation is much simpler.
the 24h convention is always used so a digital clock should just default to it in a French locale.
If a digital clock user decides to select the 12h convention, the AM and PM indicators should be left as is because no single French equivalent shortcut exists, especially for PM.
1 Note that under the Roman Empire, a.m. and p.m. were not used to sort out the hours. Instead, diei (day) and noctis (night) were used. That makes sense because, regardless of the day of year, the first daylight hour was starting at sunrise and the twelfth ending at sunset, and reciprocally for the twelve night hours. Noon/midnight were occurring between the sixth and seventh hours of the day/night.
2 From a NIST FAQ: Are noon and midnight referred to as 12 a.m. or 12 p.m.? This is a tricky question because 12 a.m. and 12 p.m. are ambiguous and should not be used.
-
I am upvoting this readable and comprehensive explanation. From what the OP wrote, he seems to be most likely doing a mistake, because he told he is writing software and for typical things like AM/PM or time format he should not explore every language of interest (French, Spanish, ..., ...), but simply read and use what is already set in the computer. Because words for AM and PM are already defined for each language. Therefore, for this special case of French usage in computer software, I added software-oriented answer to show the OP how to handle this properly.– miroxlavCommented Aug 14, 2017 at 21:44
-
You are correct that 12:00 am / 12 :00 pm are confusing, but not that they are ambiguous. 12:00 am is always midnight and 12:00 pm is always midday, despite appearing to be the other way around. Commented Aug 15, 2017 at 6:10
-
1@CJDennis The NIST disagree: Are noon and midnight referred to as 12 a.m. or 12 p.m.? This is a tricky question because 12 a.m. and 12 p.m. are ambiguous and should not be used. To illustrate this, consider that "a.m." and "p.m." are abbreviations for "ante meridiem" and "post meridiem," which mean "before noon" and "after noon," respectively. Since noon is neither before noon nor after noon, a designation of either a.m. or p.m. is incorrect. Also, midnight is both twelve hours before noon and twelve hours after noon.– jlliagreCommented Aug 15, 2017 at 6:31
-
Continued from your comment: "It is fair to say, however, that the shortest measurable duration after noon should be designated as p.m. For example, it would be applicable for a digital clock changing from 11:59:59 a.m. to 12:00:00 to indicate p.m. as soon as it the 12:00 appears, and not delay the display of the p.m. by a minute, or even a second." So even a nanosecond after noon should be called "pm", and since humans can't distinguish between nanoseconds without very precise tools, you might as well say that in the real world, 12:00:00 pm is after noon. Commented Aug 15, 2017 at 7:13
-
@CJDennis Yes, this is correct when referring to a clock displaying the time passing but less clear when referring to an absolute time for example in a timetable. It is similar to the question about whether
0
is positive or not, about which the English and French point of views often differ….– jlliagreCommented Aug 15, 2017 at 7:28
As far as I know, all French-speaking places use only 24-hour clocks in writing, even Québec (whereas 12-hour clocks are common in English-speaking Canada).
In France, the 24-hour clock became a legal standard in 1911 (at the same time France switched from the Paris meridian to the Greenwich meridian). Railway schedules started to use 24-hour time around that time (this site states 1913, but take this with a grain of salt: there were many schedule publications and I doubt they all switched the same year).
Today, in France, times are always written in digits in 24-hour format. A 12-hour clock is only used on analog clocks and in colloquial speech. The only digital clocks with 12-hour format I've ever seen in France were obviously imports made for an English-speaking market. As far as I know, this is true even in Québec, although 12-hour digital clocks may be a little more common there.
Neither Linux nor Windows 7 offers a 12-hour clock format in French. On Linux, the translation for am/pm is blank, so while you can technically select a 12-hour display, it is ambiguous. On Windows, if you select any of the French language variants, all the time format options use 24-hour time.
Do not use “a.m./p.m.” untranslated. In this context, “a.m.” would be read as an abbreviation of “après-midi”, which means afternoon.
As far as I know, there was never any standard abbreviation for am/pm in French. 19th century train schedules tend to spell out the words “matin/soir”. You could abbreviate those as m
/s
, but people reading 6:00s
might not realize that s
stands for “soir” and so this means 18:00.
So you should definitely default to a 24-hour clock in French (and most other locales). You don't need to offer a 12-hour format. If you must offer one, you might as well use “matin/soir”, or “m/s” if you need to abbreviate — or, for a clock, you could just leave it blank (just like an analog clock doesn't indicate am/pm).
-
In both your answer and comments you say that "a.m." would be read as an abbreviation of "après-midi". Why not "avant-midi" too, as it has the same first letters? If anything I find it even more confusing in that way, since it can mean both "am" and "pm". That said in Québec pretty much everyone understands am/pm.– 0xFFCommented Aug 14, 2017 at 14:12
-
1Because "avant-midi" is only used in some regions and isn't understood in most Frech-speaking areas. I have to admit I had never heard of it before. For 4:00 am we would say "4 heures du matin". The word for "afternoon" is "après-midi". It is a noun and can be used in "4 heures de l'après-midi". But the common abbreviation of "après-midi" is "apm", so I agree "am" can be confusing.– JoshCommented Aug 14, 2017 at 14:18
-
2@Josh I see. I guess it's a cultural difference. "Avant-midi" is commonly used in Québec.– 0xFFCommented Aug 14, 2017 at 14:23
-
7@0xFF “Avant-midi” does not exist in France. At least, I've never heard anybody say it, and dictionaries list it as Belgian and Canadian. In France, not everybody understands the English am/pm. I'm sure I didn't know it before learning English, and in a time context in French I understand “a.m.” as après-midi, not as ante meridiem or aye emm. Commented Aug 14, 2017 at 15:32
-
@Gilles I realise that now. These things are always peculiar in Quebec as we often have both French and English/American culture concepts. For example we learn only the metric system in school, but I rarely see someone use the metric system for casual measurements.– 0xFFCommented Aug 14, 2017 at 15:41
The 24 hour format is used in French. When speaking we might say "at 2 in the afternoon" or "at 14 o'clock" but for software I would definitely use the 24 hour format.
This format is used to set an appointment (Rendez-vous à 17h00) or displayed at the bottom of the computer screen (Windows OS at least). It is also used by the French version of Google Calendar.
You wrote:
I have created a digital clock for a software. Now we are localizing the software in French.
This is specific, easy-resolvable case. If you are localizing the software, then date, time, currency, number format and other localization resources are already available for you to use, so why re-invent the wheel?
In all major operating systems, there already is a set of locales with all settings already translated for most common countries and languages. Just let your software ask current settings from the operating system and you are fine. This with give French users their currently set 24-hour time format (if they did not change it in settings), U.S. users 12-hour time format with AM/PM, their own format to German users etc.
Important: normally, you should not attempt to define these values (AM/PM/time format) by yourself, because typically you want to respect what your users already prefer and what they set on first use of their device. So it is neat to comply. Typical clock applications do exactly that.
Example of settings in Windows: (just pull them for your use)
In rare case if your software is using some operating system where these resources are not present, then just take them from the above for any language you need.
An answer specific for Quebec: officially we use the 24h format in writting, as multiples answer stated before.
But the AM/PM format is frequently used informaly and will be understood. Even in writting. From experience, I'm a Québécois, in speech, it will be pretty much splitted between the 24h and the AM/PM format and the same person can use the two format in the same conversation. Also most of our alarm clock and other device will offer the option to use either format or default to the AM/PM format.
If you localised using the 24h format, there is nothing to replace the AM/PM with. If you software normally show "4h00 PM", it will simply show "16:00".
Here a link to the recommend usage for Québec (in french): http://www.oqlf.gouv.qc.ca/ressources/ti/dossiers/CCLQTI_20040720.pdf
(section 8 is of interest for you).
-
On pourrait extraire 1-2 informations du pdf et les présenter, vu que la pérennité des liens n'est pas toujours garantie, par exemple faire référence à la norme ISO 8601:2000 dont on parle au début de la section 8... Merci.– user3177Commented Aug 14, 2017 at 20:01
Is there only 24 hours format used in French?
In France and French-speaking Belgium we usually use the 24h system but we understand (and some people prefer it) the AM/PM format.
If no, what should be displayed as AM and PM?
When the 24h format is not used, then the AM/PM system is displayed with "AM" and "PM".
Note that this answer is valid for France and French-speaking Belgium. I can't guarantee its validity for other French-speaking countries.
Edited after Yoam Farges comment:
On a side note I'd like to add that the 24-hour system is used and understood by a vast majority. French people preferring to use the am/pm exist, even if really few.
So, if it's technically possible for you and not too time-consuming, you could set the 24h by default and let users choose am/pm as an option.
But as Yoam said, they represent a small percentage of the population.
-
7I'm French, but I have never ever met a person preferring the AM/PM system over the 24h format (even when I was working in Belgium). I guess it is not so common as you may think. Commented Aug 14, 2017 at 9:22
-
I'm french too, but as I said "some" prefer am/pm. I've met a few of them. I never asked them why they prefered it but... They exist and I take them into account. And I'll take your comment too and try to update my answer to reflect it.– GreyCommented Aug 14, 2017 at 9:37
-
5I've never seen am/pm used in France and it would be a very bad idea. In this context, “a.m.” would be understood as an abbreviation of après-midi (afternoon). Commented Aug 14, 2017 at 10:23
-
1Sorry about the confusion, but now I need to clarify that I was solely speaking about digital clock system, not about everyday chat or written forms. Commented Aug 14, 2017 at 12:38
-
1@Gaurav A vast majority of analog clocks have 1-12 numbers. I'd say it's pretty much the standard. Watchs and clocks with two "lines" of numbers (one with 1-12 and one with 13-24) exist but it's mostly design choice. Clocks with 24h are even rarer.– GreyCommented Oct 12, 2017 at 8:56
Adding to miroxlav's answer. You didn't mention which programming language and environment you're using so this may not apply.
Do not try to localize manually. The OS, framework or standard library most likely knows better. Ask the system to localize the time for you for a specific culture. If done properly, it should work for at least most languages using the same alphabet.
In pseudocode, inspired from C#:
var culture = CultureInfo.GetCultureInfo("fr-FR"); //use a specific culture
//or
culture = CultureInfo.CurrentCulture; //use the current system's culture
var time = DateTime.Now;
//format the time using that culture's specific rules
var formatted_time = time.ToString(culture.DateTimeFormat);
//formatted_time is 1:35 PM on my english PC, 13:35 on my french PC
-
This content of this answer might be correct, but how does it relate to French Language? French Language is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the French language– NoneCommented Aug 15, 2017 at 16:18
-
1@Laure arguably this answers his real problem. I understand he's asking about French, but with the context I think it's clear the actual language doesn't matter much for his problem. If tomorrow he has to localize to German should he need to ask a similar question on german.stackexchange.com? I see it as a XY problem.– 0xFFCommented Aug 15, 2017 at 16:27
-
Then why not tell him to ask the question on SO where you'd answer it?– NoneCommented Aug 15, 2017 at 17:03
AM/PM are Latin so is okay in any Western character set language.
From Wikipedia:- a.m. (from the Latin, ante meridiem, meaning before midday) and p.m. (post meridiem, meaning past midday).
So a Centurian could use your alarm clock to wake him up and guard Hadrian's Wall.
-
1I've never seen am/pm used in France and it would be a very bad idea. In this context, “a.m.” would be understood as an abbreviation of après-midi (afternoon). Commented Aug 14, 2017 at 10:24
-
I think it's understood because of its use in English and not because of its Latin origin. But as it was already said it is not the common way for a French-speaking person to read times. In a software context too. You will never see "Commande reçue à 4:00 pm" or it would seem like badly translated. And as Gilles said, "am" can be confusing.– JoshCommented Aug 14, 2017 at 14:14
-
3The centurion you are referring to would be extremely perplexed by the time displayed on that alarm clock. Under Rome, there was twenty four hours per day but they were separated in twelve daylight hours from sunrise to sunset and twelve hours for the night period. That means night and day hours were lasting a different amount of time. Noon (meridies) was between the 6th and the 7th hour. To sort out hours, diei and noctis was used instead of a.m. and p.m. Note also that the centurion wouldn't be able to read the clock, unless if using Roman numerals (I, II, III, IV, V, VI…XII.)– jlliagreCommented Aug 14, 2017 at 23:23
-
"AM/PM are Latin so is okay in any Western character set language." Um, what? No. Unless you mean that it'll probably be okay if you translate it to some equivalent of "in the morning" (du matin/soir). AM/PM is something kids learn in school for English.– FrenzieCommented Aug 15, 2017 at 18:21