Elxis CMS Forum

Support => Language => Topic started by: seadhna on April 16, 2021, 15:17:09

Title: Correction needed for months in french
Post by: seadhna on April 16, 2021, 15:17:09
Hi there,
the months in the file /language/fr/fr.php require some corrections - both the long forms and the short forms.
Some accents are missing, in general months are not capitalized in French; and the short forms are currently in English.

CURRENT LINES 40-64:
//month names
$_lang['JANUARY'] = 'Janvier';
$_lang['FEBRUARY'] = 'Fevrier';
$_lang['MARCH'] = 'Mars';
$_lang['APRIL'] = 'April';
$_lang['MAY'] = 'Mai';
$_lang['JUNE'] = 'Juin';
$_lang['JULY'] = 'Juillet';
$_lang['AUGUST'] = 'Août';
$_lang['SEPTEMBER'] = 'Septembre';
$_lang['OCTOBER'] = 'Octobre';
$_lang['NOVEMBER'] = 'Novembre';
$_lang['DECEMBER'] = 'Decembre';
$_lang['JANUARY_SHORT'] = 'Jan';
$_lang['FEBRUARY_SHORT'] = 'Feb';
$_lang['MARCH_SHORT'] = 'Mar';
$_lang['APRIL_SHORT'] = 'Apr';
$_lang['MAY_SHORT'] = 'Mai';
$_lang['JUNE_SHORT'] = 'Jun';
$_lang['JULY_SHORT'] = 'Jul';
$_lang['AUGUST_SHORT'] = 'Aug';
$_lang['SEPTEMBER_SHORT'] = 'Sep';
$_lang['OCTOBER_SHORT'] = 'Oct';
$_lang['NOVEMBER_SHORT'] = 'Nov';
$_lang['DECEMBER_SHORT'] = 'Dec';


CORRECTED:
//month names
$_lang['JANUARY'] = 'janvier';
$_lang['FEBRUARY'] = 'février';
$_lang['MARCH'] = 'mars';
$_lang['APRIL'] = 'avril';
$_lang['MAY'] = 'mai';
$_lang['JUNE'] = 'juin';
$_lang['JULY'] = 'juillet';
$_lang['AUGUST'] = 'août';
$_lang['SEPTEMBER'] = 'septembre';
$_lang['OCTOBER'] = 'octobre';
$_lang['NOVEMBER'] = 'novembre';
$_lang['DECEMBER'] = 'décembre';
$_lang['JANUARY_SHORT'] = 'janv';
$_lang['FEBRUARY_SHORT'] = 'févr';
$_lang['MARCH_SHORT'] = 'mars';
$_lang['APRIL_SHORT'] = 'avril';
$_lang['MAY_SHORT'] = 'mai';
$_lang['JUNE_SHORT'] = 'juin';
$_lang['JULY_SHORT'] = 'juil';
$_lang['AUGUST_SHORT'] = 'août';
$_lang['SEPTEMBER_SHORT'] = 'sept';
$_lang['OCTOBER_SHORT'] = 'oct';
$_lang['NOVEMBER_SHORT'] = 'nov';
$_lang['DECEMBER_SHORT'] = 'déc';

Abbreviations are taken from this source: https://web.library.yale.edu/cataloging/months
Title: Re: Correction needed for months in french
Post by: datahell on April 16, 2021, 20:55:49
I will update them right now based on your instructions. It was very strange for me knowing that the first letter is always lower case. However the dates will look ugly...