Open vioKamran opened 1 year ago
@maliming Thankyou for add backlog.
only one question : How long do you think it will take to fix this bug? Because this code is not very long and I think it will take an hour to replace all the framework codes.
We can be compatible with both.
Ok very thank you so much 🙏😊
It is possible that the JSON sub root is not working due to incorrect configuration or implementation of IStringLocalizer with JSON files. Here are some possible reasons why it may not be working.
file en.json :
Error system : 'Can not parse json string. The JSON value could not be converted to System.String. Path: $.texts.Class | LineNumber: 6 | BytePositionInLine: 14.
So please add this code to abp.framework update version next for suport root json keys : https://codewithmukesh.com/blog/json-based-localization-in-aspnet-core/ Or https://stackoverflow.com/questions/43615912/asp-net-core-localization-with-json-files
And Sample code in cshtml:
This work .