From 87b6f45f12c00a87b0862b53f7c5f5c07b35af44 Mon Sep 17 00:00:00 2001 From: Yagiz Yorulmazlar Date: Fri, 12 Nov 2021 10:23:41 +0300 Subject: [PATCH] Localization for Turkish (tr) --- .../Extensions/ServiceCollectionExtensions.cs | 3 +- .../Shared/SharedResources.tr.resx | 141 ++++++++++++++ .../Resources/Views/Todos/Create.tr.resx | 141 ++++++++++++++ .../Resources/Views/Todos/Delete.tr.resx | 138 ++++++++++++++ .../Resources/Views/Todos/Details.tr.resx | 162 ++++++++++++++++ .../Resources/Views/Todos/Edit.tr.resx | 150 +++++++++++++++ .../Resources/Views/Todos/Home.tr.resx | 168 +++++++++++++++++ .../Resources/Views/Todos/Index.tr.resx | 174 ++++++++++++++++++ TodoList.Web/Startup.cs | 3 +- 9 files changed, 1078 insertions(+), 2 deletions(-) create mode 100644 TodoList.Web/Resources/TodoList/Localization/Shared/SharedResources.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Create.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Delete.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Details.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Edit.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Home.tr.resx create mode 100644 TodoList.Web/Resources/Views/Todos/Index.tr.resx diff --git a/TodoList.Web/Extensions/ServiceCollectionExtensions.cs b/TodoList.Web/Extensions/ServiceCollectionExtensions.cs index f228439..9f3acee 100644 --- a/TodoList.Web/Extensions/ServiceCollectionExtensions.cs +++ b/TodoList.Web/Extensions/ServiceCollectionExtensions.cs @@ -44,7 +44,8 @@ public static void ConfigureSupportedCultures(this IServiceCollection services) new CultureInfo("hi-IN"), new CultureInfo("de-DE"), new CultureInfo("hr-HR"), - new CultureInfo("it-IT") + new CultureInfo("it-IT"), + new CultureInfo("tr-TR") }; opts.DefaultRequestCulture = new RequestCulture("en-GB"); diff --git a/TodoList.Web/Resources/TodoList/Localization/Shared/SharedResources.tr.resx b/TodoList.Web/Resources/TodoList/Localization/Shared/SharedResources.tr.resx new file mode 100644 index 0000000..90dff53 --- /dev/null +++ b/TodoList.Web/Resources/TodoList/Localization/Shared/SharedResources.tr.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Hakkımızda + + + İletişim + + + Merhaba + + + Ana Sayfa + + + Çıkış Yap + + + Kullanıcıları Düzenle + + + Todo'larım + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Create.tr.resx b/TodoList.Web/Resources/Views/Todos/Create.tr.resx new file mode 100644 index 0000000..6636ce8 --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Create.tr.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Listeye Dön + + + İçerik + + + Oluştur + + + Son Tarih + + + Etiketler + + + Başlık + + + Notlar + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Delete.tr.resx b/TodoList.Web/Resources/Views/Todos/Delete.tr.resx new file mode 100644 index 0000000..7ee8992 --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Delete.tr.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Silmek istediğinize emin misiniz? + + + İptal + + + Sil + + + Dosya + + + Başlık + + + Evet + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Details.tr.resx b/TodoList.Web/Resources/Views/Todos/Details.tr.resx new file mode 100644 index 0000000..0ea1c4b --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Details.tr.resx @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Eklendi + + + Listeye geri dön + + + Virgülle ayrılmış etkiletler + + + İçerik + + + Detaylar + + + Tamamlandı + + + Bitiş tarihi + + + Bitiş tarihi + + + Düzenle + + + Dosya + + + Hayır + + + Etiketler + + + Başlık + + + Evet + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Edit.tr.resx b/TodoList.Web/Resources/Views/Todos/Edit.tr.resx new file mode 100644 index 0000000..6b09f47 --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Edit.tr.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Listeye geri dön + + + Virgülle ayrılmış etkiletler + + + İçerik + + + Bitiş tarihi + + + Düzenle + + + Kaydet + + + Etiketler + + + Başlık + + + Yükle + + + Form kullanarak yükleme + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Home.tr.resx b/TodoList.Web/Resources/Views/Todos/Home.tr.resx new file mode 100644 index 0000000..d9b88b0 --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Home.tr.resx @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Todo ekle + + + Eklendi + + + Takvim + + + Sil + + + Detaylar + + + Tamamlandı + + + Bitiş tarihi + + + Bitiş tarihi + + + Düzenle + + + Feed + + + Hayır + + + Son eklenen + + + Etiketler + + + Başlık + + + Güncelleme Durumu + + + Evet + + \ No newline at end of file diff --git a/TodoList.Web/Resources/Views/Todos/Index.tr.resx b/TodoList.Web/Resources/Views/Todos/Index.tr.resx new file mode 100644 index 0000000..0983f16 --- /dev/null +++ b/TodoList.Web/Resources/Views/Todos/Index.tr.resx @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Todo Ekle + + + Eklendi + + + Sil + + + Detaylar + + + Tamamlandı + + + Tamamlananlar + + + Bitiş tarihi + + + Bitiş tarihi + + + Düzenle + + + Feed + + + Index + + + Hayır + + + Son eklenen + + + Etiketler + + + Başlık + + + Todo'lar + + + Güncelleme Durumu + + + Evet + + \ No newline at end of file diff --git a/TodoList.Web/Startup.cs b/TodoList.Web/Startup.cs index 08cdf8b..3bae611 100644 --- a/TodoList.Web/Startup.cs +++ b/TodoList.Web/Startup.cs @@ -69,7 +69,8 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env) new CultureInfo("en"), new CultureInfo("pt"), new CultureInfo("de"), - new CultureInfo("hi") + new CultureInfo("hi"), + new CultureInfo("tr") }; app.UseRequestLocalization(new RequestLocalizationOptions {