Inhalte aufrufen

Profilbild

Turkish ToLower() problem

Turkish I ToLower() ı i I

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 ayhansaritas

ayhansaritas

    Newbie

  • Members
  • Punkt
  • 1 Beiträge

Geschrieben: 13 March 2015 - 09:39

Hi,

I can't save product in Turkish Language because of this problem.

In english no problem.

And I cant solve this problem without edit source code.

 

 

in English --->("I").ToLower())='i'  

 

in Turkish --->("I").ToLower())='ı'  

 

 

 

in ProductController.cs

 

.................

foreach (var tab in model.LoadedTabs)
{
                switch (tab.ToLower())
{
case "info":
UpdateProductGeneralInfo(product, model);
break;
...............
 
case "info" is never working because its seen "ınfo"
 
I will try to change  like this
 
switch (tab.ToLower())  >>>> switch (tab.ToLowerInvariant())
 
Have anybody another idea?
 
Thanks
Ayhan
 
 


#2 Michael Herzog

Michael Herzog

    SmartStore AG

  • Administrators
  • 3498 Beiträge

Geschrieben: 13 March 2015 - 11:05

Hi,

 

we already fixed this:

 

https://github.com/s...d89dbca8671010f

 

Regards


  • ayhansaritas gefällt das

Michael Herzog
Smartstore AG