jsakamoto / Toolbelt.Blazor.I18nText

The class library that provides the ability to localize texts on your Blazor app!
Mozilla Public License 2.0
247 stars 25 forks source link

Ability to pull values dynamically via reflection #54

Closed stancoffyn closed 2 years ago

stancoffyn commented 2 years ago

I have a use case where I would like to use the i18n features on a product page and have specific product translations in the json document.

I am of the mind that a product with an ID of 1234 could have configurations in the translation document as follows

{
   'product1234name' : 'my happy new product',
   'product1234description' : 'product description english...'
}

I have already tested these changes here lines 108-118.

Thoughts?

stancoffyn commented 2 years ago

closing, moving to request stream