I am trying to learn NopCommerce, and planning to use it for a project. I downloaded the source code of version 2.50. I compiled the code and completed db installation.
Now some of localization resources cannot be seen as resource values.
Admin.Header.LoggedInAs
text next to logout. Admin.Telerik.GridLocalization.DisplayingItems. News.MoreInfo text after the news item. ShoppingCart.Mini.OneItemText text on
mini shopping cart. Products.Availability.InStock text, next to every product that is is
stock.I double checked all of the Resource Keys thorough Admin > Languages datagrid, and made sure that these are on SQL Server database also.
How can i fix or debug it?
I checked views with breakpoints on T["Admin.Header.LoggedInAs"] and its Text property is Admin.Header.LoggedInAs for example.
It is strange that all or most of the resource values have {0} and of course used with string.Format
I finally found out that the problem is caused by the collation of SQL Server db.
My local SQL Server's default collation is Turkish_CI_AS, so if i create a db from SQL Server Management Studio, it creates Turkish_CI_AS collation db by default.
I created a db with SQL_Latin1_General_CP1_CI_AS collation, and now everything works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With