Toolbelt.Blazor.I18nText icon indicating copy to clipboard operation
Toolbelt.Blazor.I18nText copied to clipboard

Allow configure the json file name and location

Open Gambero81 opened this issue 4 years ago • 0 comments

It would be great to be able to allow configure the json file name and location to allow split json translation for components.

Example of component file structure:

Components\Component.razor //<- component page Components\Component.razor.cs //<- component code behind Components\Component.razor.scss //<- component style Components\Component.razor.en //<- component dictionary for english language Components\Component.razor.it // <- component dictionary for italian language

This structure allow to visual studio to apply automatic neasting:

Component.razor |-- Component.razor.cs |-- Component.razor.scss |-- Component.razor.en |-- Component.razor.it

Actually i have created multiple json file inside i18nText folder, but it's not a very well maintenable solution because files are all inside a single folder and cannot reply the structure above.

Gambero81 avatar Jun 01 '20 15:06 Gambero81