Skip to content

Commit 39265d7

Browse files
committed
Added currency information for Turkey
1 parent cbc4b3a commit 39265d7

File tree

2 files changed

+53
-3
lines changed

2 files changed

+53
-3
lines changed

inst/app/js/globalize.culture.js

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,4 +1579,53 @@ Globalize.addCultureInfo( "en-GB", "default", {
15791579
}
15801580
});
15811581

1582-
}( this ));
1582+
Globalize.addCultureInfo( "tr-TR", "default", {
1583+
name: "tr-TR",
1584+
englishName: "Turkish (Turkey)",
1585+
nativeName: "Türkçe (Türkiye)",
1586+
language: "tr",
1587+
numberFormat: {
1588+
",": ".",
1589+
".": ",",
1590+
percent: {
1591+
pattern: ["-%n","%n"],
1592+
",": ".",
1593+
".": ","
1594+
},
1595+
currency: {
1596+
pattern: ["-n $","n $"],
1597+
",": ".",
1598+
".": ",",
1599+
symbol: "TL"
1600+
}
1601+
},
1602+
calendars: {
1603+
standard: {
1604+
"/": ".",
1605+
firstDay: 1,
1606+
days: {
1607+
names: ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],
1608+
namesAbbr: ["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],
1609+
namesShort: ["Pz","Pt","Sa","Ça","Pe","Cu","Ct"]
1610+
},
1611+
months: {
1612+
names: ["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],
1613+
namesAbbr: ["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""]
1614+
},
1615+
AM: null,
1616+
PM: null,
1617+
patterns: {
1618+
d: "dd.MM.yyyy",
1619+
D: "dd MMMM yyyy dddd",
1620+
t: "HH:mm",
1621+
T: "HH:mm:ss",
1622+
f: "dd MMMM yyyy dddd HH:mm",
1623+
F: "dd MMMM yyyy dddd HH:mm:ss",
1624+
M: "dd MMMM",
1625+
Y: "MMMM yyyy"
1626+
}
1627+
}
1628+
}
1629+
});
1630+
1631+
}( this ));

inst/app/locales/currencies.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)