Jours et mois en 55 langues (objet date)

Soyez le premier à donner votre avis sur cette source.

Vue 12 195 fois - Téléchargée 726 fois

Description

Idéal pour utilisation avec l?objet Date (class) ou avec les composantes (components) DateChooser ou DateField et vos méthodes (function) consistant à afficher les jours et mois au long dans différentes langues.

Voici la traduction des jours et mois de l?année en 55 langues. Chacune des langues supportées contient un objet Array pour les jours de semaine (Dimanche à Samedi) et un objet Array pour les mois de l?année (Janvier à Décembre). La nomenclature des langues correspond au standard utilisé par Flash, à savoir au code ISO 639-1 (http://www.loc.gov/standards/iso639-2/englangn.html).

ATTENTION, si pour certaines langues vous ne voyez que des petits carrées, utiliser la police (font) Arial Unicode MS et tout devrait rentrer dans l?ordre.

Par exemple, dans Flash faite :

Edition-Préférences. Dans la catégorie ActionScript, choisir Font puis Arial Unicode MS.

Fichier DateLanguage.as inclus.

PS: Je viens de réaliser que l'affichage pour certaines langues ici dans le forum n'est pas conforme au contenus de mon fichier. Télécharger mon fichier pour voir les noms des jours et mois convenablement.

Source / Exemple :


////////////////////SECTION LANGUAGE-LANGUE //////////////////////////////////////////////////
/*You will probably need  Arial Unicode MS (http://office.microsoft.com/downloads/2000/aruniupd.aspx) 

Vous aurez peut être besoin de la  police Arial Unicode MS (http://office.microsoft.com/downloads/2000/aruniupd.aspx) pour bien afficher les caractères pour certaines langues.

  • /
//Afrikaans-Afrikaans af static var DAYS_af:Array = new Array("Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"); static var MONTHS_af:Array = new Array("Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"); //Albanian-Albanais sq static var DAYS_sq:Array = new Array("e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"); static var MONTHS_sq:Array = new Array("Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"); //Amharic-Amharique am static var DAYS_am:Array = new Array("Ehud","Senyo","Maksenyo","Rob","Hamus","Arb","Kidami"); static var MONTHS_am:Array = new Array("Tir","Yekatit","Megabit","Miyaziya","Ginbot","Sene","Hamle","Nehase","Meskerem","Tikemet","Hidar","Tahesas"); //Armenian-Arménien hy *** static var DAYS_hy:Array = new Array("??????","??????????","?????????","??????????","?????????","??????","?????"); static var MONTHS_hy:Array = new Array("????????","????????","????","?????","?????","??????","??????","???????","?????????","?????????","????????","?????????"); //Basque-Basque eu static var DAYS_eu:Array = new Array("Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"); static var MONTHS_eu:Array = new Array("Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila ","Urria","Azaroa","Abendua"); //Belarusian-Biélorusse be static var DAYS_be:Array = new Array("???????","??????????","A??????","C?????","???????","???????","C?????"); static var MONTHS_be:Array = new Array("????????","????","???????","????????","???????","???????","??????","???????","????????","??????????","????????","????????"); //Bosnian-Bosniaque bs static var DAYS_bs:Array = new Array("Nedjelja","Ponedeljak","Utorak","Srijeda","Cxetvrtak","Petak","Subota"); static var MONTHS_bs:Array = new Array("Januar","Februar"," Mart","April","Maj","Juni","Juli ","August","Septembar","Oktobar","Novembar","Decembar"); //Breton-Breton br static var DAYS_br:Array = new Array("Disul","Dilun","Dimeurzh","Dimerc'her","Diriaou","Digwener","Disadorn"); static var MONTHS_br:Array = new Array("Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Miz Du","Kerzu"); //Bulgarian-Bulgare bg static var DAYS_bg:Array = new Array("??????","??????????","???????","C????","?????????","?????","C?????"); static var MONTHS_bg:Array = new Array("??????","????????","M???","A????","M??","???","???","A?????","C????????","O???????","H??????","????????"); //Catalan-Catalan ca static var DAYS_ca:Array = new Array("Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"); static var MONTHS_ca:Array = new Array("Gener","Febrer","Març","Abril"," Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre", "Desembre"); //Chinese-Chinois zh static var DAYS_zh:Array = new Array("???","???","???","???","???","???","???"); static var MONTHS_zh:Array = new Array("??","??","??","??","??","??","??","??","??","??","???","???"); //Cornish-Cornique kw static var DAYS_kw:Array = new Array("De Sul","De Lun","De Merth","De Mergher","De Yow","De Gwener","De Sadorn"); static var MONTHS_kw:Array = new Array("Genver","Hwevrer"," Meurth","Ebryl","Me","Metheven","Gortheren","Est","Gwynngala","Hedra","Du","Kevardhu"); //Croatian-Croate hr static var DAYS_hr:Array = new Array("Nedjelja","Ponedjeljak","Utorak","Srijeda","Cxetvrtak","Petak","Subota"); static var MONTHS_hr:Array = new Array("Sije?anj","Velja?a","O?ujak","Travanj","Svibnja","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"); //Czech-Tchèque cs static var DAYS_cs:Array = new Array("Ned?le","Pond?lí","Úterý","St?eda","?tvrtek","Pátek","Sobota"); static var MONTHS_cs:Array = new Array("Leden","Únor","B?ezen","Duben","Kv?ten","?erven","?ervenec","Srpen","Zá?í","?íjen","Listopad","Prosinec"); //Danish-Danois da static var DAYS_da:Array = new Array("Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"); static var MONTHS_da:Array = new Array("Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"); //Dutch-Hollandais nl static var DAYS_nl:Array = new Array("Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"); static var MONTHS_nl:Array = new Array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"); //English-Anglais en static var DAYS_en:Array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); static var MONTHS_en:Array = new Array("January","February","March","April","May","June","July","August","September","October","November","December"); //Estonian-Estonien et static var DAYS_et:Array = new Array("Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"); static var MONTHS_et:Array = new Array("Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"); //Finnish-Finlandais fi static var DAYS_fi:Array = new Array("Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"); static var MONTHS_fi:Array = new Array("Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"); //French-Francais fr static var DAYS_fr:Array = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"); static var MONTHS_fr:Array = new Array("Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"); //Frisian-Frison fy static var DAYS_fy:Array = new Array("Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"); static var MONTHS_fy:Array = new Array("Jannewaris","Febrewaris","Maart","April","Maaie","Juny","July","Augustus","Septimber","Oktober","Novimber","Desimber"); //German-Allemand de static var DAYS_de:Array = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"); static var MONTHS_de:Array = new Array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"); //Greek-Grec el static var DAYS_el:Array = new Array("???????","???????","?????","???????","??????","?????????","???????"); static var MONTHS_el:Array = new Array("??????????","???????????","???????","????????","?????","???????","???????","?????????","???????????","?????????","?????????","??????????"); //Gujarati-Goudjrati gu *** static var DAYS_gu:Array = new Array("??????","??????","???????","??????","???????","???????","??????"); static var MONTHS_gu:Array = new Array("?????????","?????????","?????","??????","??","???","?????","?????","?????????","???????","???????","????????"); //Hebrew-Hébreu he *** static var DAYS_he:Array = new Array("??? ?????","??? ???","??? ?????","??? ?????","??? ?????","??? ????","???"); static var MONTHS_he:Array = new Array("?????","??????","???","?????","???","????","????","??????","??????","???????","??????","?????"); //Hindi-Hindi hi static var DAYS_hi:Array = new Array("??????","??????","???????","??????","???????","????????","??????"); static var MONTHS_hi:Array = new Array("?????","?????","?????","??????","??","???","?????","?????","???????","???????","??????","???????"); //Hungarian-Hongrois hu static var DAYS_hu:Array = new Array("Vasárnap","Hétf?","Kedd","Szerda","Csütörtök","Péntek","Szombat"); static var MONTHS_hu:Array = new Array("Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"); //Icelandic-Islandais is static var DAYS_is:Array = new Array("Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"); static var MONTHS_is:Array = new Array("Janúar","Febrúar","Mars","Apríl","Maí ","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"); //Indonesian-Indonésien id static var DAYS_id:Array = new Array("Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"); static var MONTHS_id:Array = new Array("Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"); //Irish-Irlandais ga static var DAYS_ga:Array = new Array("Dé Domhnaigh","Dé Luan","Dé Mairt","Dé Céadaoin","Déardaoin","Dé h-Aoine","Dé Sathairn"); static var MONTHS_ga:Array = new Array("Enáir","Feabhra","An Márta","An t-Aibreán","An Bhealtaine",",An Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain Nollaig"); //Italian-Italien it static var DAYS_it:Array = new Array("Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"); static var MONTHS_it:Array = new Array("Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"); //Japanese-Japonais ja static var DAYS_ja:Array = new Array("???","???","???","???","???","???","???"); static var MONTHS_ja:Array = new Array("??","??","??","??","??","??","??","??","??","??","???","???"); //Korean-Coréen ko static var DAYS_ko:Array = new Array("???","???","???","???","???","???","???"); static var MONTHS_ko:Array = new Array("1?","2?","3?","4?","5?","6?","7?","8?","9?","10?","11?","12?"); //Latin-Latin la static var DAYS_la:Array = new Array("Solis dies","Lunae dies","Martis dies","Mercurii dies","Jovis dies","Veneris dies","Saturni dies"); static var MONTHS_la:Array = new Array("Ianuarius","Februarius","Martius","Aprilis","Maius","Iunius","Iulius","Augustus","Septembri","Octobris","Novembris","Decembris"); //Latvian-Letton lv static var DAYS_lv:Array = new Array("Sv?tdiena","Pirmdiena","Otrdiena","Tre?diena","Ceturtdiena","Piektdiena","Sestdiena"); static var MONTHS_lv:Array = new Array("Janv?ris","Febru?ris","Marts","Apr?lis","Maijs","J?nijs","J?lijs","Augusts","Septembris","Oktobris","Novembris","Decembris"); //Lithuanian-Lituanien lt static var DAYS_lt:Array = new Array("Sekmadienis","Pirmadienis","Antradienis","Tre?iadienis","Ketvirtadienis","Penktadienis","?e?tadienis"); static var MONTHS_lt:Array = new Array("Sausis","Vasaris","Kovas","Balandis","Gegu??","Bir?elis","Liepa","Rugpj?tis","Rus?jis","Spalis","Lapkritis","Gruodis"); //Manx-Manx gv static var DAYS_gv:Array = new Array("Jedoonee","Jelhune","Jemayrt","Jecrean","Jerdein","Jeheiney","Jesarn"); static var MONTHS_gv:Array = new Array("Jerrey","Toshiaght","Mayrnt","Averil","Boaldyn","Mean Souree","Jerrey Souree","Luanistyn","Mean Fouyir","Jerrey Fouyir","Mee Houney","Mee Ny Nollick"); //Norwegian-Norvégien no static var DAYS_no:Array = new Array("Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"); static var MONTHS_no:Array = new Array("Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"); //Polish-Polonais pl static var DAYS_pl:Array = new Array("Niedziela","Poniedzia?ek","Wtorek","?roda","Czwartek","Pi?tek","Sobota"); static var MONTHS_pl:Array = new Array("Stycze?","Luty","Marzec","Kwiecie?","Maj","Czerwiec","Lipiec","Sierpie?","Wrzesie?","Pa?dziernik","Listopad","Grudzie?" ); //Portuguese-Portugais pt static var DAYS_pt:Array = new Array("Domingo","Segunda-Feira","Terça-Feira","Quarta-Feira","Quinta-Feira","Sexta-Feira","Sábado"); static var MONTHS_pt:Array = new Array("Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"); //Romanian-Roumain ro static var DAYS_ro:Array = new Array("Duminic?","Luni","Mar?i","Miercuri","Joi","Vineri","Sîmb?t?"); static var MONTHS_ro:Array = new Array("Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"); //Russian-Russe ru static var DAYS_ru:Array = new Array("???????????","???????????","???????","?????","???????","???????","???????"); static var MONTHS_ru:Array = new Array("??????","???????","????","??????","???","????","????","??????","C???????","O??????","??????","???????"); //Scottish-Écossais gd static var DAYS_gd:Array = new Array("Di-Domhnaich","Di-Luain","Di-Mairt","Di-Ciadain","Di-Ardaoin","Di h-Aoine","Di-Sathurna"); static var MONTHS_gd:Array = new Array("An Faoilteach", "An Gearran", "An Márt", "An Giblean", "An Ceitean", "An t-Òg-Mhios", "An t-Luchar", "An Lúnasdal", "An t-Sultain", "An Dàmhair", "An t-Samhain", "An Dúbhlachd" ); //Serbian-Serbe sr static var DAYS_sr:Array = new Array("??????","?????????","??????","?????","????????","?????","??????"); static var MONTHS_sr:Array = new Array("??????","???????","????","?????","???","????","????","??????","?????????","???????","????????","????????"); //Slovak-Slovaque sk static var DAYS_sk:Array = new Array("Nede?a","Pondelok","Utorok","Streda","?tvrtok","Piatok","Sobota"); static var MONTHS_sk:Array = new Array("Január","Február","Marec","Apríl","Máj","Jún","Júl","August ","September","Október","November","December"); //Slovenian-Slovène sl static var DAYS_sl:Array = new Array("Nedelja","Ponedeljek","Torek","Sreda","?etrtek","Petek","Sobota"); static var MONTHS_sl:Array = new Array("Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"); //Spanish-Espagnol es static var DAYS_es:Array = new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"); static var MONTHS_es:Array = new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"); //Swedish-Suédois sv static var DAYS_sv:Array = new Array("Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"); static var MONTHS_sv:Array = new Array("Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"); //Tamil-Tamoul ta *** static var DAYS_ta:Array = new Array("??????","???????","????????","?????","??????","??????","???"); static var MONTHS_ta:Array = new Array("?????", "????????", "??????", "??????", "??", "????","????", "??????", "??????????", "????????","???????","????????"); //Thai-Thaï th static var DAYS_th:Array = new Array("??????????","?????????","?????????","??????","???????????","????????","????????"); static var MONTHS_th:Array = new Array("??????","??????????","??????","??????","???????","????????","???????","???????","???????","??????","?????????","???????"); //Turkish-Turc tr static var DAYS_tr:Array = new Array("Pazar","Pazartesi","Sal?","Çar?amba","Per?embe","Cuma","Cumartesi"); static var MONTHS_tr:Array = new Array("Ocak","?ubat","Mart","Nisan","May?s","Haziran","Temmuz","A?ustos","Eylül","Ekim","Kas?m","Aral?k"); //Ukrainian-Ukrainien uk static var DAYS_uk:Array = new Array("H?????","?????????","????????","C?????","??????","?'??????","C?????"); static var MONTHS_uk:Array = new Array("??????","?????","????????","???????","???????","???????","??????","C??????","B???????","???????","????????","???????"); //Vietnamese-Vietnamien vi static var DAYS_vi:Array = new Array("ch? nh?t","th? hai","th? ba","th? t?","th? n?m","th? sáu","th? b?y"); static var MONTHS_vi:Array = new Array("tháng m?t", "tháng hai","tháng ba","tháng t?","tháng n?m","tháng sáu","tháng b?y","tháng tám","tháng chín","tháng m??i","tháng m??i m?t","tháng m??i hai"); //Welsh-Gallois cy static var DAYS_cy:Array = new Array("Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"); static var MONTHS_cy:Array = new Array("Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"); //Yiddish-Yiddish yi *** static var DAYS_yi:Array = new Array("??????","??????","???????","??????","?????????","??????","???"); static var MONTHS_yi:Array = new Array("??????","???????","????","?????","??","????","????","??????","?????????","???????","????????","????????");

Codes Sources

A voir également

Ajouter un commentaire Commentaires
Messages postés
3
Date d'inscription
samedi 4 mars 2006
Statut
Membre
Dernière intervention
4 décembre 2008

merci.
Messages postés
396
Date d'inscription
samedi 16 avril 2005
Statut
Membre
Dernière intervention
13 novembre 2009

Il est vrai que cela peut etre utile !!!
( mais il ne faut pas tous exagéré non plus )
On ne propose pas toujours une application en autant de langue a la fois !!!

Bon boulot tout de meme

@+
Bon code
Flo

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.

Du même auteur (ToToLeBon)