문제

When the following code runs in Windows 7 it gives the month in Turkish but in Linux it gives the month in English:

new SimpleDateFormat("dd MMMMMM", new Locale("tr")).format(date);
  • Windows 7 - 23 Ağustos
  • Linux - 23 August

I want the month in Turkish in Linux too!

How do I do this?

도움이 되었습니까?

해결책

Java does not support Turkish writing on linux operating systems. You can reference the following documentation. Here

Look under...

2.Enabled Writing Systems for Java Foundation Classes

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top