Bug #39092 Greek LOCALE support
Submitted: 28 Aug 2008 13:34 Modified: 29 Jul 2010 13:06
Reporter: Nikolaos Tsarmpopoulos Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Charsets Severity:S4 (Feature request)
Version:5.0, 5.1, 6.0 OS:Any
Assigned to: Alexander Barkov CPU Architecture:Any
Tags: day, DAYNAME(), Greek, hour, language, locale, month

[28 Aug 2008 13:34] Nikolaos Tsarmpopoulos
Description:
Dear Sirs,

I would like to use the function DAYNAME() using a Greek locale, which appears not to be available:

http://dev.mysql.com/doc/refman/5.0/en/locale-support.html

I am providing you with the translations (ISO-8859-7) of days, hours and months, in good hope to be included in the next minor version of mySQL.

I am also available to provide you with additional information, as needed, in order to support this feature.

I look forward to hearing from you.

Yours Sincerely,

Nikolaos Tsarmpopoulos

How to repeat:
The missing feature can be verified by searching the list of locales for the Greek language:

http://dev.mysql.com/doc/refman/5.0/en/locale-support.html

Suggested fix:
Days:
"Sunday"="Κυριακή"
"Monday"="Δευτέρα"
"Tuesday"="Τρίτη"
"Wednesday"="Τετάρτη"
"Thursday"="Πέμπτη"
"Friday"="Παρασκευή"
"Saturday"="Σάββατο"

Hours:
"pm"="μμ"
"am"="πμ"

Months:
"January"="Ιανουάριος"
"February"="Φεβρουάριος"
"March"="Μάρτιος"
"April"="Απρίλιος"
"May"="Μάιος"
"June"="Ιούνιος"
"July"="Ιούλιος"
"August"="Αύγουστος"
"September"="Σεπτέμβριος"
"October"="Οκτώβριος"
"November"="Νοέμβριος"
"December"="Δεκέμβριος"
[28 Aug 2008 13:37] Nikolaos Tsarmpopoulos
Fixed the tags line.
[29 Sep 2008 7:03] Susanne Ebrecht
Many thanks for writing a feature request. I agree that a GREEK locale make sense. We will check this.
[24 Nov 2008 13:12] Alexander Barkov
See WL#4642
[2 Feb 2009 14:56] Peter Gulutzan
It is unclear what to do about day abbreviations.
In Unix locales they do not have accents.
According to IBM they do have accents.
So we have a choice between
Κυρ | Κυρ
Δευ | Δευ
Τρι | Τρί
Τετ | Τετ
Πεμ | Πέμ
Παρ | Παρ
Σαβ | Σάβ 
Please indicate which is correct.
If possible please supply a reference to an official Greek standard.
[16 Feb 2009 9:04] Nikolaos Tsarmpopoulos
Unfortunately, this is not currently covered by any national or international standard, according to information provided via informal personal communication with Mr Melagrakis Evangelos (office number: +30-210-2120107), who works for ΕΛΟΤ, the National Standards Organisation (http://www.elot.gr).

Windows VISTA uses accents, while Linux does not. It appears that, due to the lack of a standard, programmers had to make their own choices.

While, I support the open source initiative, I would personally advise you to use accents, because they help with reading the shortened words properly.

Κυρ
Δευ
Τρί
Τετ
Πέμ
Παρ
Σάβ

Sincerely,
Dr Nikolaos Tsarmpopoulos
[16 Feb 2009 12:34] Susanne Ebrecht
Many thanks for writing a feature request. Set this to verfied.
[29 Jul 2010 13:06] Alexander Barkov
Closing the report. Greek locale was implemented in 5.5.
See here for details:

http://forge.mysql.com/worklog/task.php?id=4642