AlexTeixeira / Askmethat-Aspnet-JsonLocalizer

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

Custom file path in a Multi Tenant Enviornment? #114

Open aloksharma1 opened 3 years ago

aloksharma1 commented 3 years ago

Hi,

is there a way to pass additional filepaths for i18n localizations like this:

` translations/

     /common/localization.en-Us.json

     /site1.com/localization.en-Us.json

     /site2.com/localization.en-Us.json

     ---> so on..

` one method i though of was passing httpcontext accessor or direct folder name like ("/translation/site1.com"), but i can seem to find this in library.. if you can guide me where the files are grabbed maybe I can make a PR? regards

AlexTeixeira commented 2 years ago

Hi,

Do you investigate more ?

aloksharma1 commented 2 years ago

No, i didn't i tried reading your code but without a documentation things become harder :)