AlexTeixeira / Askmethat-Aspnet-JsonLocalizer

Json Localizer library for .NetStandard and .NetCore Asp.net projects
MIT License
91 stars 29 forks source link

Can't use JsonOptions #82

Closed mohameds93 closed 3 years ago

mohameds93 commented 4 years ago

i have installed the plugin in my project but i can't refrernce using Askmethat.Aspnet.JsonLocalizer.JsonOptions; askmethat

oprions

Please note that i downloaded the repo and i can see the refrence for this working.

AlexTeixeira commented 4 years ago

Hi,

This is strange, I have the last preview version and I don't have any issue with this import.

Can you give me more information about your project ?

mohameds93 commented 4 years ago

I have .net core 3.1 webApi project which is the main and i have class library for localization. I have added the plugin to the class library and followed the test sample project to get it work. After that I had a problem with how Json file format are ,so i was trying to start using the i18n style using the JsonOption and i get this issue.

ItsMeSousuke commented 4 years ago

According to code downloaded of version 2.2.0 from github release JsonOptions are not included. You have to download any 3.0.0 preview version to get JsonOptions available

AlexTeixeira commented 3 years ago

Version 3.0.0 as non preview is also available now.

Sorry for delay in publishing the version 3.0.0. Also I'm preparing a version 3.1.0 with #83 integration